RetroFed Forums
Your home away from modern life.
Optimizing SQLite for servers
Post Reply
AuthorMessage
0x0
programming.dev
0x0@programming.dev
Joined: 2023-06-30
Posted:   Subject: Optimizing SQLite for servers Quote

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 ;

1   Original
Post Reply Page 1