Skip to content

Commit ba1daea

Browse files
authored
v6.5.12: tidb: add description for var tidb_ddl_reorg_max_write_speed (#19445) (#19644)
1 parent bf837c5 commit ba1daea

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

system-variables.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,6 +1194,16 @@ MPP is a distributed computing framework provided by the TiFlash engine, which a
11941194
- This variable is used to set the priority of executing the `ADD INDEX` operation in the `re-organize` phase.
11951195
- You can set the value of this variable to `PRIORITY_LOW`, `PRIORITY_NORMAL` or `PRIORITY_HIGH`.
11961196
1197+
### tidb_ddl_reorg_max_write_speed <span class="version-mark">New in v6.5.12</span>
1198+
1199+
- Scope: GLOBAL
1200+
- Persists to cluster: Yes
1201+
- Type: Integer
1202+
- Default value: `0`
1203+
- Range: `[0, 1125899906842624]` (the maximum value that can be set is 1 PiB)
1204+
- 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.
1205+
- 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'`.
1206+
11971207
### tidb_ddl_reorg_worker_cnt
11981208
11991209
- Scope: GLOBAL

0 commit comments

Comments
 (0)