Skip to content

Commit

Permalink
[conf](parallel) Reduce parallel tasks for large cluster (#38196) (#3…
Browse files Browse the repository at this point in the history
…8233)

For large cluster, too many parallel tasks will cause performance issue.
So this PR limit the max parallel tasks in Doris.

pick #38196

<!--Describe your changes.-->
  • Loading branch information
Gabriel39 authored Jul 23, 2024
1 parent fdc8b45 commit 33e04b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,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 33e04b1

Please sign in to comment.