opt write opt

This commit is contained in:
yihaoDeng 2023-04-24 09:08:48 +00:00
parent e1535124d1
commit f15b806e15
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ int streamInitBackend(SStreamState* pState, char* path) {
cfOpt[i] = rocksdb_options_create_copy(opts);
// refactor later
rocksdb_block_based_table_options_t* tableOpt = rocksdb_block_based_options_create();
rocksdb_cache_t* cache = rocksdb_cache_create_lru(32 << 20);
rocksdb_cache_t* cache = rocksdb_cache_create_lru(64 << 20);
rocksdb_block_based_options_set_block_cache(tableOpt, cache);
rocksdb_filterpolicy_t* filter = rocksdb_filterpolicy_create_bloom(15);