*: open auto analyze and stats feedback by default (#6500)
This commit is contained in:
@ -264,7 +264,7 @@ var defaultConf = Config{
|
||||
StatsLease: "3s",
|
||||
RunAutoAnalyze: true,
|
||||
StmtCountLimit: 5000,
|
||||
FeedbackProbability: 0,
|
||||
FeedbackProbability: 0.05,
|
||||
QueryFeedbackLimit: 1024,
|
||||
PseudoEstimateRatio: 0.7,
|
||||
},
|
||||
|
||||
@ -131,7 +131,7 @@ stats-lease = "3s"
|
||||
run-auto-analyze = true
|
||||
|
||||
# Probability to use the query feedback to update stats, 0 or 1 for always false/true.
|
||||
feedback-probability = 0.0
|
||||
feedback-probability = 0.05
|
||||
|
||||
# The max number of query feedback that cache in memory.
|
||||
query-feedback-limit = 1024
|
||||
|
||||
@ -167,7 +167,7 @@ const (
|
||||
DefIndexLookupSize = 20000
|
||||
DefDistSQLScanConcurrency = 15
|
||||
DefBuildStatsConcurrency = 4
|
||||
DefAutoAnalyzeRatio = 0.0
|
||||
DefAutoAnalyzeRatio = 0.7
|
||||
DefChecksumTableConcurrency = 4
|
||||
DefSkipUTF8Check = false
|
||||
DefOptAggPushDown = false
|
||||
|
||||
Reference in New Issue
Block a user