Skip to content

Commit

Permalink
v5.3-v5.0: emphasize experimental for stats feedback (#11750)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomShawn authored Dec 28, 2022
1 parent dc32945 commit a27c7fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion statistics.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ When the ratio of the number of modified rows to the total number of rows of `tb
>
> Currently, the automatic update does not record the configuration items input at manual `ANALYZE`. Therefore, when you use the `WITH` syntax to control the collecting behavior of `ANALYZE`, you need to manually set scheduled tasks to collect statistics.
Before v5.0, when the query is executed, TiDB collects feedback with the probability of `feedback-probability` and uses it to update the histogram and Count-Min Sketch. **In v5.0, this feature is disabled by default, and it is not recommended to enable this feature.**
Before v5.0, when the query is executed, TiDB collects feedback with the probability of `feedback-probability` and uses it to update the histogram and Count-Min Sketch. **In the current version, this feature is experimental and disabled by default, and it is not recommended to enable this feature in the production environment.**
### Control `ANALYZE` concurrency
Expand Down
4 changes: 4 additions & 0 deletions tidb-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,10 @@ Configuration items related to performance.

### `feedback-probability`

> **Warning:**
>
> `feedback-probability` is an experimental feature in the current version. It is not recommended to use it in the production environment.
- The probability that TiDB collects the feedback statistics of each query.
- Default value: `0`
- This feature is disabled by default, and it is not recommended to enable this feature. If it is enabled, TiDB collects the feedback of each query at the probability of `feedback-probability`, to update statistics.
Expand Down

0 comments on commit a27c7fd

Please sign in to comment.