From 0c72053a49a6e7a0da4010e5921f45af20120e20 Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Sat, 17 Dec 2022 23:17:16 -0600 Subject: [PATCH] perf: increase mmap size to 1GB --- src/schema.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schema.rs b/src/schema.rs index 9b1e530..bf26d1a 100644 --- a/src/schema.rs +++ b/src/schema.rs @@ -16,7 +16,7 @@ pub const STARTUP_SQL: &str = r##" PRAGMA main.synchronous=NORMAL; PRAGMA foreign_keys = ON; PRAGMA journal_size_limit=32768; -pragma mmap_size = 536870912; -- 512MB of mmap +pragma mmap_size = 1073741824; -- 1024MB of mmap "##; /// Latest database version