5 ms·
Checksums use CPU cycles. SQLite will do checksums with an extension (https://sqlite.org/cksumvfs.html https://sqlite.org/cksumvfs.html) but that is off by def
by SQLite 16d ago
Checksums use CPU cycles. SQLite will do checksums with an extension (https://sqlite.org/cksumvfs.html https://sqlite.org/cksumvfs.html) but that is off by default since an overwhelming majority of developers are more interested in day-to-day performance than detecting (very rare) storage malfunctions.
- dist-epoch 16d agoThank you for creating it! I wonder if something changed, with todays SSDs, memory bottlenecked CPUs, and hardware accelerated CRCs. FWIW, RAM bit-flips are much more common today, on consumer devices where SQLite is used a lot, since today's memory operates at the limit (see RowHammer).