Skip to content

Commit

Permalink
Add link to tidb_max_auto_analyze_time system variables (#8937) (#8956
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ti-chi-bot authored Jun 14, 2022
1 parent 2ed85f8 commit 1904d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion releases/release-6.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ In 6.1.0, the key new features or improvements are as follows:

Databases can effectively understand the distribution of data by collecting statistics, which helps generate reasonable execution plans and improve the efficiency of SQL execution. TiDB regularly collects statistics on frequently changed data objects in the background. However, collecting statistics takes up cluster resources and might affect the stable operation of the business during business peaks.

Starting from v6.1.0, TiDB introduces `tidb_max_auto_analyze_time` to control the maximum execution time for background statistics collection, which is 12 hours by default. When the application does not encounter a resource bottleneck, it is recommended not to modify this variable so that TiDB can timely collect statistics.
Starting from v6.1.0, TiDB introduces [`tidb_max_auto_analyze_time`](/system-variables.md#tidb_max_auto_analyze_time-new-in-v610) to control the maximum execution time for background statistics collection, which is 12 hours by default. When the application does not encounter a resource bottleneck, it is recommended not to modify this variable so that TiDB can timely collect statistics.

[User document](/system-variables.md)

Expand Down

0 comments on commit 1904d94

Please sign in to comment.