This is an automated email from the ASF dual-hosted git repository.
gabriellee 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 7211c2d6594 [conf](parallel) Reduce parallel tasks for large cluster
(#38196)
7211c2d6594 is described below
commit 7211c2d6594821a78a00423754d9f0e608e45192
Author: Gabriel <[email protected]>
AuthorDate: Tue Jul 23 11:25:47 2024 +0800
[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.
---
fe/fe-core/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 e97f8a9881c..a7248119177 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
@@ -840,7 +840,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;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]