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

dataroaring 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 c7b439a4c09 [enhencement](config) change default write buffer size 
(#30749)
c7b439a4c09 is described below

commit c7b439a4c09832ed6ceab17c8c7bfca73cf33778
Author: Xin Liao <liaoxin...@126.com>
AuthorDate: Fri Feb 2 19:26:59 2024 +0800

    [enhencement](config) change default write buffer size (#30749)
---
 be/src/common/config.cpp | 2 +-
 be/src/common/config.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp
index 5ec35009cb6..e5e45a722c6 100644
--- a/be/src/common/config.cpp
+++ b/be/src/common/config.cpp
@@ -589,7 +589,7 @@ DEFINE_Int32(memory_max_alignment, "16");
 // memtable insert memory tracker will multiply input block size with this 
ratio
 DEFINE_mDouble(memtable_insert_memory_ratio, "1.4");
 // max write buffer size before flush, default 200MB
-DEFINE_mInt64(write_buffer_size, "104857600");
+DEFINE_mInt64(write_buffer_size, "209715200");
 // max buffer size used in memtable for the aggregated table, default 400MB
 DEFINE_mInt64(write_buffer_size_for_agg, "419430400");
 // max parallel flush task per memtable writer
diff --git a/be/src/common/config.h b/be/src/common/config.h
index d931c0205a2..4813490e949 100644
--- a/be/src/common/config.h
+++ b/be/src/common/config.h
@@ -639,7 +639,7 @@ DECLARE_Int32(memory_max_alignment);
 
 // memtable insert memory tracker will multiply input block size with this 
ratio
 DECLARE_mDouble(memtable_insert_memory_ratio);
-// max write buffer size before flush, default 100MB
+// max write buffer size before flush, default 200MB
 DECLARE_mInt64(write_buffer_size);
 // max buffer size used in memtable for the aggregated table, default 400MB
 DECLARE_mInt64(write_buffer_size_for_agg);


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

Reply via email to