weizhengte commented on code in PR #8859:
URL: https://github.com/apache/incubator-doris/pull/8859#discussion_r856874191


##########
fe/fe-core/src/main/java/org/apache/doris/common/Config.java:
##########
@@ -1629,6 +1629,11 @@ public class Config extends ConfigBase {
      */
     @ConfField(mutable = true, masterOnly = true)
     public static int cbo_max_statistics_job_num = 20;
+    /*
+     * the max unfinished statistics task number
+     */
+    @ConfField(mutable = true, masterOnly = true)
+    public static int cbo_max_statistics_task_num = 512;

Review Comment:
   This further controls the number of statistical tasks, mainly for some 
tables with many columns. Too many statistical tasks are divided, which may 
affect performance. this problem can be avoided by this configuration.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to