Tune rocksdb

Former-commit-id: 95d91b1ff8c8080dfcbf59e51d3eff73d27dcfb5
This commit is contained in:
John Sully 2020-02-17 21:50:45 -05:00
parent 20924db872
commit 003bfb6a04
2 changed files with 0 additions and 2 deletions

View File

@ -109,7 +109,6 @@ RocksDBStorageProvider::~RocksDBStorageProvider()
rocksdb::WriteOptions RocksDBStorageProvider::WriteOptions() const
{
auto opt = rocksdb::WriteOptions();
opt.disableWAL = true;
return opt;
}

View File

@ -49,7 +49,6 @@ RocksDBStorageFactory::RocksDBStorageFactory(const char *dbfile, int dbnum)
table_options.cache_index_and_filter_blocks = true;
table_options.pin_l0_filter_and_index_blocks_in_cache = true;
options.table_factory.reset(NewBlockBasedTableFactory(table_options));
table_options.filter_policy.reset(rocksdb::NewBloomFilterPolicy(10, false));
options.table_factory.reset(
rocksdb::NewBlockBasedTableFactory(table_options));