Skip to content

Commit

Permalink
Revert "planner: enable cost model2 by default" (#39265)
Browse files Browse the repository at this point in the history
  • Loading branch information
qw4990 authored Nov 22, 2022
1 parent 8b39e66 commit bd97130
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 bd97130

Please sign in to comment.