From 02a8564139dbd3b04a2749d70be7aebe9dc410ac Mon Sep 17 00:00:00 2001 From: WenyXu Date: Thu, 12 Dec 2024 07:14:16 +0000 Subject: [PATCH] chore: change page size to 4MiB --- src/mito2/src/cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mito2/src/cache.rs b/src/mito2/src/cache.rs index a059c4ee7894..f65462298d79 100644 --- a/src/mito2/src/cache.rs +++ b/src/mito2/src/cache.rs @@ -55,7 +55,7 @@ const FILE_TYPE: &str = "file"; const SELECTOR_RESULT_TYPE: &str = "selector_result"; /// Page size for cache. Currently only used for inverted index cache. -const PAGE_SIZE: usize = 8192 * 1024; // 8MB +const PAGE_SIZE: usize = 4096 * 1024 * 1024; // 4MB /// Manages cached data for the engine. ///