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

Fix SQLite database size keeps increasing #4036

Merged
merged 1 commit into from
Dec 12, 2023
Merged

Conversation

ApliNi
Copy link
Contributor

@ApliNi ApliNi commented Dec 3, 2023

https://www.sqlite.org/pragma.html#pragma_auto_vacuum

I once had a Dyanmp SQLite database that expanded to 140GB after running for several months, but the valid data in it was less than 40GB. After adding auto_vacuum = FULL, re-rendering and running for 2 months, the database size has barely increased.

and no performance impact was noticed.

@mikeprimm mikeprimm merged commit 06fbcb8 into webbukkit:v3.0 Dec 12, 2023
@mikeprimm
Copy link
Member

Looks good - thanks!

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.

2 participants