- Published on
Investigation · Part 13 of 20 · What survives a crash
How SQLite Commits a Transaction, Followed With strace
One INSERT in SQLite's default rollback journal mode makes four sync calls on my laptop. I followed every write with strace, compared FULL, EXTRA, NORMAL and OFF, and found the one directory sync that FULL leaves out, as the SQLite documentation says.