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

Add database optimise task #3929

Merged
merged 5 commits into from
Jul 28, 2023

Conversation

DingDongSoLong4
Copy link
Collaborator

This adds a database optimisation task that runs both ANALYZE and VACUUM as discussed in Discord.

Automatic optimisations with PRAGMA optimize are already being done on connection close, but for users with very large databases this has proven not to be effective enough - a full ANALYZE is needed.

@WithoutPants WithoutPants added this to the Version 0.22.0 milestone Jul 27, 2023
@WithoutPants WithoutPants added the feature Pull requests that add a new feature label Jul 27, 2023
@WithoutPants WithoutPants merged commit 4961c96 into stashapp:develop Jul 28, 2023
@DingDongSoLong4 DingDongSoLong4 deleted the optimize-db-task branch July 30, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Pull requests that add a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants