This is an automated email from the ASF dual-hosted git repository.

eldenmoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 220744e928b [Opt](config) adjust segment cache (#42308)
220744e928b is described below

commit 220744e928b4b6a2f78ca08b16c6389cc620f2d4
Author: lihangyu <15605149...@163.com>
AuthorDate: Thu Oct 24 20:13:57 2024 +0800

    [Opt](config) adjust segment cache (#42308)
    
    For wide tables the default segment cache capacity is relatively small
    and lead to many cache eviction in high compaction/query load
---
 be/src/common/config.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp
index ca339ae574e..31170b731f4 100644
--- a/be/src/common/config.cpp
+++ b/be/src/common/config.cpp
@@ -1072,8 +1072,8 @@ DEFINE_mInt32(schema_cache_sweep_time_sec, "100");
 // max number of segment cache, default -1 for backward compatibility 
fd_number*2/5
 DEFINE_Int32(segment_cache_capacity, "-1");
 DEFINE_Int32(segment_cache_fd_percentage, "20");
-DEFINE_mInt32(estimated_mem_per_column_reader, "1024");
-DEFINE_Int32(segment_cache_memory_percentage, "2");
+DEFINE_mInt32(estimated_mem_per_column_reader, "512");
+DEFINE_Int32(segment_cache_memory_percentage, "5");
 
 // enable feature binlog, default false
 DEFINE_Bool(enable_feature_binlog, "false");


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to