improvement: increase connection cache size

This commit is contained in:
Greg Heartsfield 2023-02-02 18:34:30 -06:00
parent e36c791c53
commit 5999009779

View File

@ -17,6 +17,7 @@ PRAGMA main.synchronous = NORMAL;
PRAGMA foreign_keys = ON; PRAGMA foreign_keys = ON;
PRAGMA journal_size_limit = 32768; PRAGMA journal_size_limit = 32768;
PRAGMA temp_store = 2; -- use memory, not temp files PRAGMA temp_store = 2; -- use memory, not temp files
PRAGMA main.cache_size = 20000; -- 80MB max cache size per conn
pragma mmap_size = 17179869184; -- cap mmap at 16GB pragma mmap_size = 17179869184; -- cap mmap at 16GB
"##; "##;