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

system-variables: update from generated source #6451

Merged
merged 2 commits into from
Sep 14, 2021
Merged
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
8 changes: 5 additions & 3 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ SET tidb_query_log_max_len = 20

### tidb_replica_read <span class="version-mark">New in v4.0</span>

- Scope: SESSION
- Scope: SESSION | GLOBAL
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- Default value: `leader`
- Possible values: `leader`, `follower`, `leader-and-follower`
- This variable is used to control where TiDB reads data. Here are three options:
Expand Down Expand Up @@ -1320,7 +1320,8 @@ SET tidb_slow_log_threshold = 200;
- Scope: SESSION | GLOBAL
- Default value: `1800`
- Range: `[1, 2147483647]`
- This variable is used to set the refresh time of [statement summary tables](/statement-summary-tables.md). The unit is second.
- Unit: Seconds
- This variable is used to set the refresh time of [statement summary tables](/statement-summary-tables.md).

### tidb_store_limit <span class="version-mark">New in v3.0.4 and v4.0</span>

Expand Down Expand Up @@ -1358,7 +1359,8 @@ SET tidb_slow_log_threshold = 200;
- Scope: SESSION
- Default value: `300`
- Range: `[1, 2147483647]`
- This variable is used to set the timeout for executing the `SPLIT REGION` statement. The unit is second. If a statement is not executed completely within the specified time value, a timeout error is returned.
- Unit: Seconds
- This variable is used to set the timeout for executing the `SPLIT REGION` statement. If a statement is not executed completely within the specified time value, a timeout error is returned.

### tidb_window_concurrency <span class="version-mark">New in v4.0</span>

Expand Down