You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this library to export data from my database. Everything works fine if I try to export not more than 10-15K entries. Ends with 504 error when I export large sets of data (about 30-40K entries).
To fix this I've tried using caching with Redis and splitting main array into chunks each to be saved in a separate file. None helped.
What did help is exporting some table fields, not all of them. For example, if my table has like 20 fields, DB export will return 504 error. If I select only 5-6 fields, everything works pretty fine and surprisingly fast.
Tried to save as XLSX and CSV with the same result.