File tree Expand file tree Collapse file tree 5 files changed +6
-2
lines changed
Expand file tree Collapse file tree 5 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 3939 path : $BASE_PATH$/log
4040store :
4141 path : $BASE_PATH$/data/db
42+ block_cache_size : 2147483648 # 2GB
4243 background_thread_num : 16 # background_thread_num priority background_thread_ratio
4344 # background_thread_ratio: 0.5 # cpu core * ratio
4445 stats_dump_period_s : 120
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ document:
4040 enable_follower_hold_index : false
4141store :
4242 path : $BASE_PATH$/data/db
43+ block_cache_size : 2147483648 # 2GB
4344 background_thread_num : 16 # background_thread_num priority background_thread_ratio
4445 fast_background_thread_num : 8 # background_thread_num priority background_thread_ratio
4546 # background_thread_ratio: 0.5 # cpu core * ratio
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ vector:
4141 enable_follower_hold_index : false
4242store :
4343 path : $BASE_PATH$/data/db
44+ block_cache_size : 2147483648 # 2GB
4445 background_thread_num : 16 # background_thread_num priority background_thread_ratio
4546 fast_background_thread_num : 8 # background_thread_num priority background_thread_ratio
4647 # background_thread_ratio: 0.5 # cpu core * ratio
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ region:
2020 merge_check_interval_s : 120
2121 max_merge_region_size : 1048576 # 1MB
2222 max_merge_region_keys : 10000
23- split_merge_interval : 3600 # 1h
23+ split_merge_interval : 3600 # 1h
2424 merge_size_ratio : 0.2
2525 merge_keys_ratio : 0.2
2626 merge_check_concurrency : 3
3838 path : $BASE_PATH$/log
3939store :
4040 path : $BASE_PATH$/data/db
41+ block_cache_size : 2147483648 # 2GB
4142 background_thread_num : 16 # background_thread_num priority background_thread_ratio
4243 # background_thread_ratio: 0.5 # cpu core * ratio
4344 stats_dump_period_s : 120
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ class Constant {
109109 inline static const std::string kBlockSize = " block_size" ;
110110 inline static const std::string kBlockSizeDefaultValue = " 131072" ; // 128KB
111111 inline static const std::string kBlockCache = " block_cache" ;
112- inline static const std::string kBlockCacheDefaultValue = " 1073741824 " ; // 1GB
112+ inline static const std::string kBlockCacheDefaultValue = " 2147483648 " ; // 2GB
113113 inline static const std::string kArenaBlockSize = " arena_block_size" ;
114114 inline static const std::string kArenaBlockSizeDefaultValue = " 67108864" ; // 64MB
115115 inline static const std::string kMinWriteBufferNumberToMerge = " min_write_buffer_number_to_merge" ;
You can’t perform that action at this time.
0 commit comments