Change auto analyze max table width default value to 100. (#30395)

This commit is contained in:
Jibing-Li
2024-01-26 14:18:57 +08:00
committed by yiguolei
parent 9aaa6ba351
commit 9aa3cdfa1b
4 changed files with 4 additions and 4 deletions

View File

@ -1447,7 +1447,7 @@ public class SessionVariable implements Serializable, Writable {
"Maximum table width to enable auto analyze, "
+ "table with more columns than this value will not be auto analyzed."},
flag = VariableMgr.GLOBAL)
public int autoAnalyzeTableWidthThreshold = 70;
public int autoAnalyzeTableWidthThreshold = 100;
@VariableMgr.VarAttr(name = AUTO_ANALYZE_START_TIME, needForward = true, checker = "checkAnalyzeTimeFormat",
description = {"该参数定义自动ANALYZE例程的开始时间",

View File

@ -98,7 +98,7 @@ public class StatisticConstants {
public static final int TASK_QUEUE_CAP = 10;
public static final int AUTO_ANALYZE_TABLE_WIDTH_THRESHOLD = 70;
public static final int AUTO_ANALYZE_TABLE_WIDTH_THRESHOLD = 100;
public static final int MSG_LEN_UPPER_BOUND = 1024;