Commit 9ce9c1d8 authored by Marc Vef's avatar Marc Vef
Browse files

Set max_successive_merges due to performance issues after many merge operations

parent 8d5bc8ed
Pipeline #885 failed with stages
in 36 seconds
......@@ -49,6 +49,7 @@ bool init_rocksdb() {
}
void optimize_rocksdb(rocksdb::Options& options) {
options.max_successive_merges = 128;
#if defined(KV_OPTIMIZE_RAMDISK)
// as described at https://github.com/facebook/rocksdb/wiki/RocksDB-Tuning-Guide
// use mmap read
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment