From 172add904720b5274a09145a8875153ccd918f1d Mon Sep 17 00:00:00 2001 From: Weizhen Wang Date: Mon, 23 Sep 2024 15:58:24 +0800 Subject: [PATCH] variable: set default tidb_auto_analyze_concurrency as 1 Signed-off-by: Weizhen Wang --- pkg/sessionctx/variable/tidb_vars.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sessionctx/variable/tidb_vars.go b/pkg/sessionctx/variable/tidb_vars.go index ffb89f4251034..08835ee281e39 100644 --- a/pkg/sessionctx/variable/tidb_vars.go +++ b/pkg/sessionctx/variable/tidb_vars.go @@ -1426,7 +1426,7 @@ const ( DefTiDBAnalyzeColumnOptions = "PREDICATE" DefTiDBMemOOMAction = "CANCEL" DefTiDBMaxAutoAnalyzeTime = 12 * 60 * 60 - DefTiDBAutoAnalyzeConcurrency = 2 + DefTiDBAutoAnalyzeConcurrency = 1 DefTiDBEnablePrepPlanCache = true DefTiDBPrepPlanCacheSize = 100 DefTiDBSessionPlanCacheSize = 100