From f15b806e1518ad512904a21521da9b45fe611935 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Mon, 24 Apr 2023 09:08:48 +0000 Subject: [PATCH] opt write opt --- source/libs/stream/src/streamStateRocksdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/stream/src/streamStateRocksdb.c b/source/libs/stream/src/streamStateRocksdb.c index 706e5a53e7..162d10f9de 100644 --- a/source/libs/stream/src/streamStateRocksdb.c +++ b/source/libs/stream/src/streamStateRocksdb.c @@ -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); -- GitLab