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

Optimize CSV export query #2741

Merged

Conversation

WesleyAC
Copy link
Member

Splitting this into five separate queries avoids the large join that prevents us from using indexes, and requires materializing to disk.

Fixes: #2157 (hopefully)

Splitting this into five separate queries avoids the large join that
prevents us from using indexes, and requires materializing to disk.

Fixes: bookwyrm-social#2157 (hopefully)
@mouse-reeve mouse-reeve merged commit 6f1e80b into bookwyrm-social:main Mar 20, 2023
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

Successfully merging this pull request may close these issues.

CSV export results in empty file with no data
2 participants