add coreid

This commit is contained in:
2025-08-15 16:38:03 +08:00
parent 71af7b785a
commit 1628a9c690
6 changed files with 57 additions and 0 deletions
+1
View File
@@ -63,6 +63,7 @@ fn main() {
let mut opt = Options::new(path);
opt.sync_on_write = false;
opt.tmp_store = true;
opt.consolidate_threshold = 512;
// opt.cache_capacity = 3 << 30; // this is very important for large key-value store
let db = Mace::new(opt.validate().unwrap()).unwrap();