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

SQL

473 readers
1 users here now

Related Fediverse communities:

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

founded 1 year 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 ;

you are viewing a single comment's thread
view the rest of the comments
[–] 0x0 3 points 5 months ago (1 children)

Did you read the article?

There's more to SQLite than the embedded world and not everyone requires ClickHouse's performance.

[–] [email protected] 0 points 5 months ago (1 children)

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.

[–] 0x0 1 points 5 months ago

Why should I need to use a 4 core machine

Just 'cos the article writer used one doesn't mean you have to and i doubt "multiple CPUs" is a requirement for SQLite.