Running VACUUM commands on sqlite db #4967
Unanswered
twiddlecoding
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When removing rows from a sqlite database, the file size doesn't shrink. I'm using sqlite for a local project, and I store logs in it. I would like to have the possibility of vacuuming the db after removing old log data. But how do you run the VACUUM command with drizzle orm?
https://sqlite.org/lang_vacuum.html
Bonus for letting me know how to activate auto vacuum.
Beta Was this translation helpful? Give feedback.
All reactions