Skip to content

Commit 7db3e10

Browse files
authored
Link to Benchmarking SQLite in Django
1 parent d5c714a commit 7db3e10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sqlite/enabling-wal-mode.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ Ben Johnson wrote about how WAL mode internals work in great detail in [How SQLi
4141
In a Hacker News comment, Ben [points out](https://news.ycombinator.com/item?id=32581486):
4242

4343
> The other odd thing is that the journal_mode is only persistent for WAL, I believe. The DELETE, TRUNCATE, & PERSIST modes are per-connection. It makes sense though since those 3 modes deal with the rollback journal and are compatible with each other while the WAL is totally separate. https://www.sqlite.org/pragma.html#pragma_journal_mode
44+
45+
I made some extensive notes on the performance impact of WAL mode in [Benchmarking SQLite in Django](https://simonwillison.net/2022/Oct/23/datasette-gunicorn/#benchmarking-sqlite).

0 commit comments

Comments
 (0)