this post was submitted on 20 Jun 2024
27 points (100.0% liked)

SQL

643 readers
3 users here now

Related Fediverse communities:

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
 

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 ;

all 7 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 10 months ago

Good article. Interesting perspective on the problem.

[–] [email protected] 2 points 10 months ago (1 children)

I tend to use DuckDB now instead of SQLite for my applications. Though it would be nice if it had better concurrency support.

[–] [email protected] 3 points 10 months ago

Thank for your comment. I had heard of DuckDB but never checked it out. "why you would i need that I use postgres"... But I just found the WASM implementation and I have been looking for something like this for years. Thank you!