Joel Dare

SQLite WAL Mode

If you are using SQLite in a write heavy mode you might want to use the newer Write-Ahead Logging (WAL) journaling mode. This mode is database wide and you can run the following command to enable it for a specific database file.

sqlite3 github.db 'PRAGMA journal_mode=WAL;'


Enabling Wal Mode
Write-Ahead Logging