From 6951009995d23d36540d20510a0a68eacc7df29f Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 23 Jul 2024 11:25:47 +0800 Subject: [PATCH] [conf](parallel) Reduce parallel tasks for large cluster (#38196) For large cluster, too many parallel tasks will cause performance issue. So this PR limit the max parallel tasks in Doris. --- .../src/main/java/org/apache/doris/qe/SessionVariable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 046dc28c4a4dee..6dee4c9c711891 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 @@ -799,7 +799,7 @@ public class SessionVariable implements Serializable, Writable { public String timeZone = TimeUtils.getSystemTimeZone().getID(); @VariableMgr.VarAttr(name = PARALLEL_EXCHANGE_INSTANCE_NUM) - public int exchangeInstanceParallel = -1; + public int exchangeInstanceParallel = 100; @VariableMgr.VarAttr(name = SQL_SAFE_UPDATES) public int sqlSafeUpdates = 0;