Skip to content

Commit c387816

Browse files
authored
[fix](config) change segment_cache_fd_percentage and inverted_index_fd_number_limit_percent default value #42224 (#42423)
1 parent 4b51554 commit c387816

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

be/src/common/config.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ DEFINE_String(inverted_index_searcher_cache_limit, "10%");
10401040
// set `true` to enable insert searcher into cache when write inverted index data
10411041
DEFINE_Bool(enable_write_index_searcher_cache, "true");
10421042
DEFINE_Bool(enable_inverted_index_cache_check_timestamp, "true");
1043-
DEFINE_Int32(inverted_index_fd_number_limit_percent, "40"); // 40%
1043+
DEFINE_Int32(inverted_index_fd_number_limit_percent, "20"); // 20%
10441044
DEFINE_Int32(inverted_index_query_cache_shards, "256");
10451045

10461046
// inverted index match bitmap cache size
@@ -1088,7 +1088,7 @@ DEFINE_mInt32(schema_cache_sweep_time_sec, "100");
10881088

10891089
// max number of segment cache, default -1 for backward compatibility fd_number*2/5
10901090
DEFINE_Int32(segment_cache_capacity, "-1");
1091-
DEFINE_Int32(segment_cache_fd_percentage, "40");
1091+
DEFINE_Int32(segment_cache_fd_percentage, "20");
10921092
DEFINE_mInt32(estimated_mem_per_column_reader, "512");
10931093
DEFINE_Int32(segment_cache_memory_percentage, "5");
10941094

0 commit comments

Comments
 (0)