Skip to content

Commit

Permalink
planner: enable non-prep plan cache by default on Master (#43904)
Browse files Browse the repository at this point in the history
ref #36598
  • Loading branch information
qw4990 authored May 17, 2023
1 parent 87f7c85 commit a1f0097
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 @@ -1258,7 +1258,7 @@ const (
DefTiDBEnableFastReorg = true
DefTiDBDDLDiskQuota = 100 * 1024 * 1024 * 1024 // 100GB
DefExecutorConcurrency = 5
DefTiDBEnableNonPreparedPlanCache = false
DefTiDBEnableNonPreparedPlanCache = true
DefTiDBEnableNonPreparedPlanCacheForDML = false
DefTiDBNonPreparedPlanCacheSize = 100
DefTiDBPlanCacheMaxPlanSize = 2 * size.MB
Expand Down

0 comments on commit a1f0097

Please sign in to comment.