Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout when exporting large tables (+700k rows) #111

Open
pabdelhay opened this issue Sep 22, 2023 · 1 comment
Open

Timeout when exporting large tables (+700k rows) #111

pabdelhay opened this issue Sep 22, 2023 · 1 comment

Comments

@pabdelhay
Copy link

I have a very large table, with more then 700.000 rows. When I select all the rows on my changelist page, and submit the action to export with celery, it gives a Bad Gateway server error (502) when going to the Export job page. The problem is on this step after submiting the action on the changelist page and not on the export itself.
When I try with few rows it works fine.

My guess is the size of the request to the Export job page, or maybe the size of the field queryset, which stores all the PKs from the queryset to export.

Have you ever experience that? Any solution?

@lautarodapin-magoya
Copy link

currently trying to solve the same problem, i guess the best option is to save filters and selections instead of all the ids

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants