Skip to content

Commit

Permalink
enable compaction
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed May 16, 2023
1 parent da15261 commit fb5f69b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/rocks_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub fn tune_options(options: rocksdb::Options, wal_dir: Option<&str>) -> rocksdb
options.set_bottommost_compression_type(rocksdb::DBCompressionType::Zstd);
options.set_bottommost_zstd_max_train_bytes(1 << 22, true);

options.set_disable_auto_compactions(true);
// options.set_disable_auto_compactions(true);
options.optimize_for_point_lookup(1 << 26);

options
Expand Down

0 comments on commit fb5f69b

Please sign in to comment.