Skip to content

Commit

Permalink
Revert "planner: enable cost model2 by default (#39221)"
Browse files Browse the repository at this point in the history
This reverts commit 50fdeef.
  • Loading branch information
qw4990 committed Nov 21, 2022
1 parent 3bcd5a8 commit 385795f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sessionctx/variable/tidb_vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,7 @@ const (
DefTiDBForeignKeyChecks = false
DefTiDBAnalyzePartitionConcurrency = 1
DefTiDBOptRangeMaxSize = 64 * int64(size.MB) // 64 MB
DefTiDBCostModelVer = 2
DefTiDBCostModelVer = 1
DefTiDBServerMemoryLimitSessMinSize = 128 << 20
DefTiDBMergePartitionStatsConcurrency = 1
DefTiDBServerMemoryLimitGCTrigger = 0.7
Expand Down

0 comments on commit 385795f

Please sign in to comment.