Skip to content

Commit

Permalink
[conf](parallel) Reduce parallel tasks for large cluster (apache#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 committed Jul 23, 2024
1 parent 9eac4f2 commit 6951009
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6951009

Please sign in to comment.