You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2023/12/29 16:16:08 UTC
(doris) 04/04: modify default config
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch tpch500
in repository https://gitbox.apache.org/repos/asf/doris.git
commit 227a67a56042dbd0f3ee0ca7b3460f611e3a76c7
Author: morningman <mo...@163.com>
AuthorDate: Sat Dec 30 00:15:01 2023 +0800
modify default config
---
be/src/common/config.cpp | 4 ++--
fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp
index 1be582fcc74..bc27106c0c8 100644
--- a/be/src/common/config.cpp
+++ b/be/src/common/config.cpp
@@ -86,7 +86,7 @@ DEFINE_String(memory_mode, "moderate");
DEFINE_String(mem_limit, "90%");
// Soft memory limit as a fraction of hard memory limit.
-DEFINE_Double(soft_mem_limit_frac, "0.9");
+DEFINE_Double(soft_mem_limit_frac, "1.0");
// Many modern allocators (for example, tcmalloc) do not do a mremap for
// realloc, even in case of large enough chunks of memory. Although this allows
@@ -311,7 +311,7 @@ DEFINE_Int64(index_stream_cache_capacity, "10737418240");
DEFINE_String(row_cache_mem_limit, "20%");
// Cache for storage page size
-DEFINE_String(storage_page_cache_limit, "20%");
+DEFINE_String(storage_page_cache_limit, "30%");
// Shard size for page cache, the value must be power of two.
// It's recommended to set it to a value close to the number of BE cores in order to reduce lock contentions.
DEFINE_Int32(storage_page_cache_shard_size, "256");
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
index 8761f82ed3c..bdb8ac46306 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java
@@ -503,7 +503,7 @@ public class SessionVariable implements Serializable, Writable {
public boolean isSingleSetVar = false;
@VariableMgr.VarAttr(name = EXPAND_RUNTIME_FILTER_BY_INNER_JION)
- public boolean expandRuntimeFilterByInnerJoin = false;
+ public boolean expandRuntimeFilterByInnerJoin = true;
@VariableMgr.VarAttr(name = JDBC_CLICKHOUSE_QUERY_FINAL)
public boolean jdbcClickhouseQueryFinal = false;
@@ -961,7 +961,7 @@ public class SessionVariable implements Serializable, Writable {
private boolean enableProjection = true;
@VariableMgr.VarAttr(name = CHECK_OVERFLOW_FOR_DECIMAL)
- private boolean checkOverflowForDecimal = true;
+ private boolean checkOverflowForDecimal = false;
@VariableMgr.VarAttr(name = DECIMAL_OVERFLOW_SCALE, needForward = true, description = {
"当decimal数值计算结果精度溢出时,计算结果最多可保留的小数位数", "When the precision of the result of"
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org