qpdb / mentat

A persistent, relational store inspired by Datomic and DataScript.
https://mentat.rs/
Apache License 2.0
52 stars 2 forks source link

Use SQLITE_SECURE_DELETE=1 to avoid vacuuming data #284

Open gburd opened 4 years ago

gburd commented 4 years ago

From https://searchfox.org/mozilla-central/rev/c296d5b2391c8b37374b118180b64cca66c0aa16/db/sqlite3/src/moz.build#26-27:

-DSQLITE_SECURE_DELETE=1 will cause SQLITE to 0-fill delete data so we don't have to vacuum to make sure the data is not visible in the file.

This is particularly relevant to #21 and the work-in-progress #766.