Tune rocksdb
Former-commit-id: 95d91b1ff8c8080dfcbf59e51d3eff73d27dcfb5
This commit is contained in:
parent
20924db872
commit
003bfb6a04
@ -109,7 +109,6 @@ RocksDBStorageProvider::~RocksDBStorageProvider()
|
||||
rocksdb::WriteOptions RocksDBStorageProvider::WriteOptions() const
|
||||
{
|
||||
auto opt = rocksdb::WriteOptions();
|
||||
opt.disableWAL = true;
|
||||
return opt;
|
||||
}
|
||||
|
||||
|
@ -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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user