From 2062e0f9bbb68d38afebbaca9493ecb1f8f517c4 Mon Sep 17 00:00:00 2001 From: Aolin Date: Fri, 13 Dec 2024 10:31:12 +0800 Subject: [PATCH] v7.5.5: introduce tidb_ddl_reorg_max_write_speed Signed-off-by: Aolin --- sql-statements/sql-statement-admin-alter-ddl.md | 2 +- system-variables.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sql-statements/sql-statement-admin-alter-ddl.md b/sql-statements/sql-statement-admin-alter-ddl.md index e7cc26dd7fff8..a3ddf6ebd3cd7 100644 --- a/sql-statements/sql-statement-admin-alter-ddl.md +++ b/sql-statements/sql-statement-admin-alter-ddl.md @@ -23,7 +23,7 @@ The following are the supported parameters for different DDL jobs and their corr - `ADD INDEX`: - `THREAD`: the concurrency of the DDL job. The initial value is set by `tidb_ddl_reorg_worker_cnt`. - `BATCH_SIZE`: the batch size. The initial value is set by [`tidb_ddl_reorg_batch_size`](/system-variables.md#tidb_ddl_reorg_batch_size). - - `MAX_WRITE_SPEED`: the maximum bandwidth limit for importing index records into each TiKV. The initial value is set by [`tidb_ddl_reorg_max_write_speed`](/system-variables.md#tidb_ddl_reorg_max_write_speed-new-in-v850). + - `MAX_WRITE_SPEED`: the maximum bandwidth limit for importing index records into each TiKV. The initial value is set by [`tidb_ddl_reorg_max_write_speed`](/system-variables.md#tidb_ddl_reorg_max_write_speed-new-in-v755-and-v850). Currently, the preceding parameters only work for `ADD INDEX` jobs that are submitted and running after [`tidb_enable_dist_task`](/system-variables.md#tidb_enable_dist_task-new-in-v710) is disabled. diff --git a/system-variables.md b/system-variables.md index e6c8302898008..91688b423a8bb 100644 --- a/system-variables.md +++ b/system-variables.md @@ -1695,7 +1695,7 @@ mysql> SELECT job_info FROM mysql.analyze_jobs ORDER BY end_time DESC LIMIT 1; - 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 New in v8.5.0 +### tidb_ddl_reorg_max_write_speed New in v7.5.5 and v8.5.0 - Scope: GLOBAL - Persists to cluster: Yes