Damselfly
Damselfly copied to clipboard
Track deletes, and if there are any, flag the DB for VACUUM on next startup
Rather than running VACUUM every startup - which can be time-consuming - write a flag/config setting whenever we perform a delete, and then at next startup, if that flag is set, unset it and trigger a VACUUM.