I need to generate database reports with a large data stream (between 10,000 and 150,000 data) , placing this data in a csv or < in> xlsx (Excel), I wanted to know if it has an optimized form for this. My thoughts and have a button on the screen where the client clicks and downloads this file in the specified format.
Does anyone have a clue what the best way to go?