Skip to content

Commit

Permalink
v6.5.12: tidb: add description for var `tidb_ddl_reorg_max_write_spee…
Browse files Browse the repository at this point in the history
…d` (#19445) (#19644)
  • Loading branch information
ti-chi-bot authored Feb 27, 2025
1 parent bf837c5 commit ba1daea
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -1194,6 +1194,16 @@ MPP is a distributed computing framework provided by the TiFlash engine, which a
- 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 v6.5.12</span>
- Scope: GLOBAL
- Persists to cluster: Yes
- Type: Integer
- Default value: `0`
- Range: `[0, 1125899906842624]` (the maximum value that can be set is 1 PiB)
- This variable limits the write bandwidth for each TiKV node and only takes effect when index creation acceleration is enabled (controlled by the [`tidb_ddl_enable_fast_reorg`](#tidb_ddl_enable_fast_reorg-new-in-v630) variable). When the data size in your cluster is quite large (such as billions of rows), limiting the write bandwidth for index creation can effectively reduce the impact on application workloads.
- The default value `0` means no write bandwidth limit. The default unit is bytes per second. You can also set the value in formats such as `'1GiB'` or `'256MiB'`.
### tidb_ddl_reorg_worker_cnt
- Scope: GLOBAL
Expand Down

0 comments on commit ba1daea

Please sign in to comment.