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

clarify the time zone used for parsing tidb_auto_analyze_start_time #10354

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,8 @@ MPP 是 TiFlash 引擎提供的分布式计算框架,允许节点之间的数
- `tidb_auto_analyze_start_time='01:00 +0000'`
- `tidb_auto_analyze_end_time='03:00 +0000'`

参数中的时间如果包含时区信息,则使用该时区来解析;否则使用当前会话中 `time_zone` 指定的时区解析。例如 `01:00 +0000` 就是 UTC 时间的凌晨 1:00。

### `tidb_auto_analyze_ratio`

- 作用域:GLOBAL
Expand All @@ -408,6 +410,8 @@ MPP 是 TiFlash 引擎提供的分布式计算框架,允许节点之间的数
- `tidb_auto_analyze_start_time='01:00 +0000'`
- `tidb_auto_analyze_end_time='03:00 +0000'`

参数中的时间如果包含时区信息,则使用该时区来解析;否则使用当前会话中 `time_zone` 指定的时区解析。例如 `01:00 +0000` 就是 UTC 时间的凌晨 1:00。

### `tidb_max_auto_analyze_time` <span class="version-mark">从 v6.1.0 版本开始引入</span>

- 作用域:GLOBAL
Expand Down