Skip to content

Commit

Permalink
Update system-variables.md
Browse files Browse the repository at this point in the history
Co-authored-by: Aolin <[email protected]>
  • Loading branch information
hawkingrei and Oreoxmt authored Jan 27, 2025
1 parent 9baaa68 commit 105be3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1;
- 是否持久化到集群:是
- 是否受 Hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value) 控制:否
- 默认值:`8192`。对于 TiDB v7.6.0 之前的版本,默认值为 `1`。在 v8.2.0 之前的版本中,默认值为 `128`
- 范围:`[1, 8192]`, 8.2 之前,最大值为 1024
- 范围:`[1, 8192]`,v8.2.0 之前版本范围为 `[1, 1024]`
- 用于设置 TiDB [自动 analyze](/statistics.md#自动更新) 分区表(即自动收集分区表上的统计信息)时,每次同时 analyze 分区的个数。
- 若该变量值小于分区表的分区数,则 TiDB 会分多批自动 analyze 该分区表的所有分区。若该变量值大于等于分区表的分区数,则 TiDB 会同时 analyze 该分区表的所有分区。
- 若分区表个数远大于该变量值,且自动 analyze 花费时间较长,可调大该参数的值以减少耗时。
Expand Down

0 comments on commit 105be3d

Please sign in to comment.