*: open auto analyze and stats feedback by default (#6500)

This commit is contained in:
Haibin Xie
2018-05-08 19:18:50 +08:00
committed by GitHub
parent 34f0764f38
commit 8d345cd09a
3 changed files with 3 additions and 3 deletions

View File

@ -264,7 +264,7 @@ var defaultConf = Config{
StatsLease: "3s",
RunAutoAnalyze: true,
StmtCountLimit: 5000,
FeedbackProbability: 0,
FeedbackProbability: 0.05,
QueryFeedbackLimit: 1024,
PseudoEstimateRatio: 0.7,
},

View File

@ -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

View File

@ -167,7 +167,7 @@ const (
DefIndexLookupSize = 20000
DefDistSQLScanConcurrency = 15
DefBuildStatsConcurrency = 4
DefAutoAnalyzeRatio = 0.0
DefAutoAnalyzeRatio = 0.7
DefChecksumTableConcurrency = 4
DefSkipUTF8Check = false
DefOptAggPushDown = false