- cross-posted to:
- sqlite
- cross-posted to:
- sqlite
TL;DR?
PRAGMA journal_mode = WAL;
PRAGMA busy_timeout = 5000;
PRAGMA synchronous = NORMAL;
PRAGMA cache_size = 1000000000;
PRAGMA foreign_keys = true;
PRAGMA temp_store = memory ;
You must log in or # to comment.
Good article. Interesting perspective on the problem.
I tend to use DuckDB now instead of SQLite for my applications. Though it would be nice if it had better concurrency support.
And why would anyone use SQLite outside the embedded world, when you can get way more performance with ClickHouse?
I actually did. There is still no reason to be wasteful with ressources. Why should I need to use a 4 core machine, when I could just use a single core machine?
Only because „it works“, does not make it a valid reason to use it.


