Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add system variable tidb_max_auto_analyze_time #8790

Merged
merged 7 commits into from
Jun 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,15 @@ MPP is a distributed computing framework provided by the TiFlash engine, which a
- Default value: `00:00 +0000`
- This variable is used to restrict the time window that the automatic update of statistics is permitted. For example, to only allow automatic statistics updates between 1AM and 3AM, set `tidb_auto_analyze_start_time='01:00 +0000'` and `tidb_auto_analyze_end_time='03:00 +0000'`.

### `tidb_max_auto_analyze_time` <span class="version-mark"> Introduced from v6.1.0 version </span>
qiancai marked this conversation as resolved.
Show resolved Hide resolved

- Scope: GLOBAL
- Persists to cluster: Yes
- Default value: `43200`
- Range: `[0, 2147483647]`
- Unit: seconds
- This variable is used to specify the maximum execution time of auto ANALYZE tasks. When the execution time of an auto ANALYZE task exceeds the specified time, the task will be terminated. When the value of this variable is `0`, there is no limit to the maximum execution time of Auto ANALYZE tasks.

### tidb_backoff_lock_fast

- Scope: SESSION | GLOBAL
Expand Down