Skip to content

Commit f41b4e0

Browse files
ti-chi-bottangentaqiancaihfxsdCbcWestwolf
authored
v6.5.12: tidb: add description for var tidb_ddl_reorg_max_write_speed (#19071) (#19256)
Co-authored-by: tangenta <[email protected]> Co-authored-by: Grace Cai <[email protected]> Co-authored-by: xixirangrang <[email protected]> Co-authored-by: cbcwestwolf <[email protected]>
1 parent 689a14a commit f41b4e0

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
@@ -1007,6 +1007,16 @@ MPP 是 TiFlash 引擎提供的分布式计算框架,允许节点之间的数
10071007
- 可选值:`PRIORITY_LOW``PRIORITY_NORMAL``PRIORITY_HIGH`
10081008
- 这个变量用来设置 `ADD INDEX` 操作 `re-organize` 阶段的执行优先级,可设置为 `PRIORITY_LOW`/`PRIORITY_NORMAL`/`PRIORITY_HIGH`
10091009
1010+
### `tidb_ddl_reorg_max_write_speed` <span class="version-mark">从 v6.5.12 版本开始引入</span>
1011+
1012+
- 作用域:GLOBAL
1013+
- 是否持久化到集群:是
1014+
- 类型:整数型
1015+
- 默认值:`0`
1016+
- 范围:`[0, 1125899906842624]`(即最大可设置为 1 PiB)
1017+
- 这个变量用于限制每个 TiKV 节点写入的带宽,仅在开启添加索引加速功能时生效(由变量 [`tidb_ddl_enable_fast_reorg`](#tidb_ddl_enable_fast_reorg-从-v630-版本开始引入) 控制)。在数据量特别大的情况下(如数十亿行数据),降低加索引时写入 TiKV 节点的带宽可以有效减少对业务负载的影响。
1018+
- 默认值 `0` 表示不限制写入带宽。默认单位为字节每秒,也可以通过 `'1GiB'``'256MiB'` 等格式设置该变量。
1019+
10101020
### `tidb_ddl_reorg_worker_cnt`
10111021
10121022
- 作用域:GLOBAL

0 commit comments

Comments
 (0)