General Discussion • SQLITE_ENABLE_BATCH_ATOMIC_WRITE
Luanti Forums - Index page [Unofficial]
February 13, 2026
Maybe it's possible to use sqlite's compile time options for a performance gain. With F2FS, sqlite's SQLITE_ENABLE_BATCH_ATOMIC_WRITE compile time option should work, which can make transactions over twice as fast, while simultaneously reducing wear on SSD storage devices. Furthermore, if supported by the file system, the SQLITE_ENABLE_ATOMIC_WRITE option can result in significant speed improvements for small updates. https://sqlite.org/compile.html
There also exists exF2FS, which improves the SQLite performance by 24× against stock SQLite and reduces the write volume to 1/6 compared to the PERSIST journal mode of SQLite. https://www.usenix.org/system/files/fast22-oh.pdf
Statistics: Posted by Hybrid Dog — Fri Feb 13, 2026 16:21
Discussion in the ATmosphere