Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Haibin Xie committed Apr 16, 2018
1 parent e0f7754 commit f3b349f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/statistics.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ANALYZE TABLE TableName INDEX [IndexNameList]
在发生增加,删除以及修改语句时,TiDB 会自动更新表的总行数以及修改的行数。这些信息会定期持久化下来,
更新的周期是 5 * `stats-lease`, `stats-lease` 的默认值是 3s,如果将其指定为 0,那么将不会自动更新。

在查询语句执行时,TiDB 会以 `feedback-probability` 的概率收集反馈信息,并将其用于更新直方图和 Count-Min Sketch。
在查询语句执行时,TiDB 会以 `feedback-probability` 的概率收集反馈信息,并将其用于更新直方图和 Count-Min Sketch。`feedback-probability` 可通过配置文件修改,其默认值是 0。

### 控制 ANALYZE 并发度

Expand Down

0 comments on commit f3b349f

Please sign in to comment.