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 doc for experimental variable tidb_store_batch_size #11562

Merged
merged 7 commits into from
Dec 9, 2022
Merged
Changes from 5 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
14 changes: 14 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -3744,6 +3744,20 @@ For details, see [Identify Slow Queries](/identify-slow-queries.md).
- Unit: Seconds
- This variable is used to set the refresh time of [statement summary tables](/statement-summary-tables.md).

### `tidb_store_batch_size`

> **Warning:**
>
> Currently,`tidb_store_batch_size` is not stable yet. This variable may be removed in the future, it is not recommended that you use it in production environments.
> Suggest to use the default value.
you06 marked this conversation as resolved.
Show resolved Hide resolved

- Scope: SESSION | GLOBAL
- Persists to cluster: Yes
- Type: Integer
- Default value: `0`
- Range: `[0, 25000]`
- This variable is used to control the batch size of table reader Coprocessor Tasks of the `IndexLookUp` executor. `0` means disable batch. When the number of tasks is relatively large and slow queries occur, you can increase this variable to optimize the query.
you06 marked this conversation as resolved.
Show resolved Hide resolved

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

- Scope: GLOBAL
Expand Down