Skip to content

Commit

Permalink
[conf](parallel) Reduce parallel tasks for large cluster (#38196)
Browse files Browse the repository at this point in the history
For large cluster, too many parallel tasks will cause performance issue.
So this PR limit the max parallel tasks in Doris.
  • Loading branch information
Gabriel39 authored Jul 23, 2024
1 parent 16f4882 commit 7211c2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7211c2d

Please sign in to comment.