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

tidb: add description for var tidb_ddl_reorg_max_write_speed #19445

Merged
merged 7 commits into from
Nov 26, 2024
Merged
Changes from 1 commit
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
10 changes: 10 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1699,6 +1699,16 @@
- This variable is used to set the priority of executing the `ADD INDEX` operation in the `re-organize` phase.
- You can set the value of this variable to `PRIORITY_LOW`, `PRIORITY_NORMAL` or `PRIORITY_HIGH`.

### `tidb_ddl_reorg_max_write_speed` <span class="version-mark">New in v8.5.0</span>
CbcWestwolf marked this conversation as resolved.
Show resolved Hide resolved

- Scope: GLOBAL
- Persists to cluster: Yes
- Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No
- Type: Integer
- Default value: `0`
- Range: `[0, 1125899906842624]` (i.e. the maximum value that can be set is 1 PiB)

Check failure on line 1709 in system-variables.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [PingCAP.Latin] Use 'that is' instead of 'i.e.'. Raw Output: {"message": "[PingCAP.Latin] Use 'that is' instead of 'i.e.'.", "location": {"path": "system-variables.md", "range": {"start": {"line": 1709, "column": 35}}}, "severity": "ERROR"}
CbcWestwolf marked this conversation as resolved.
Show resolved Hide resolved
- This variable only takes effect when index creation acceleration is enabled (by [`tidb_ddl_enable_fast_reorg`](#tidb_ddl_enable_fast_reorg-new-in-v630)). It limits the bandwidth in which writing data into each TiKV. The default value `0` means no writing limitation. The default unit is bytes per second. You can also set this variable to values like `'1GiB'`, `'256MiB`.
CbcWestwolf marked this conversation as resolved.
Show resolved Hide resolved

### tidb_ddl_reorg_worker_cnt

> **Note:**
Expand Down
Loading