From f5dadfefecad70e49f7d4e3d34724a84018deebc Mon Sep 17 00:00:00 2001 From: D3Hunter Date: Mon, 23 Nov 2026 19:04:13 +0800 Subject: [PATCH 1/3] docs: document DXF node resource requirements --- tidb-distributed-execution-framework.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tidb-distributed-execution-framework.md b/tidb-distributed-execution-framework.md index 2ceafdc4a917b..0428491cce938 100644 --- a/tidb-distributed-execution-framework.md +++ b/tidb-distributed-execution-framework.md @@ -44,6 +44,8 @@ The DXF can only schedule up to 16 tasks (including [`ADD INDEX`](/sql-statement ## Prerequisites +Use the same number of CPU cores and the same amount of memory on all TiDB nodes eligible to run DXF tasks. The DXF assumes these nodes have the same resource capacity when scheduling tasks. + Before using the DXF to execute [`ADD INDEX`](/sql-statements/sql-statement-add-index.md) tasks, you need to enable the [Fast Online DDL](/system-variables.md#tidb_ddl_enable_fast_reorg-new-in-v630) mode. From 584bf2277920bf8fa892c7aa43befcb0e68b23fa Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Tue, 24 Nov 2026 18:42:37 +0800 Subject: [PATCH 2/3] Update tidb-distributed-execution-framework.md --- tidb-distributed-execution-framework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-distributed-execution-framework.md b/tidb-distributed-execution-framework.md index 0428491cce938..aa97e36d043e6 100644 --- a/tidb-distributed-execution-framework.md +++ b/tidb-distributed-execution-framework.md @@ -44,7 +44,7 @@ The DXF can only schedule up to 16 tasks (including [`ADD INDEX`](/sql-statement ## Prerequisites -Use the same number of CPU cores and the same amount of memory on all TiDB nodes eligible to run DXF tasks. The DXF assumes these nodes have the same resource capacity when scheduling tasks. +Use the same number of CPU cores and the same amount of memory on all TiDB nodes eligible to run DXF tasks. This is because the DXF scheduler assumes that all eligible nodes have the same resource capacity. Before using the DXF to execute [`ADD INDEX`](/sql-statements/sql-statement-add-index.md) tasks, you need to enable the [Fast Online DDL](/system-variables.md#tidb_ddl_enable_fast_reorg-new-in-v630) mode. From bdd40dadbcc1b69ce74db33f0b603e84953a4c58 Mon Sep 17 00:00:00 2001 From: D3Hunter Date: Tue, 1 Dec 2026 17:32:11 +0800 Subject: [PATCH 3/3] Apply suggestion from @qiancai Co-authored-by: Grace Cai --- tidb-distributed-execution-framework.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-distributed-execution-framework.md b/tidb-distributed-execution-framework.md index aa97e36d043e6..551e5258904f2 100644 --- a/tidb-distributed-execution-framework.md +++ b/tidb-distributed-execution-framework.md @@ -44,7 +44,7 @@ The DXF can only schedule up to 16 tasks (including [`ADD INDEX`](/sql-statement ## Prerequisites -Use the same number of CPU cores and the same amount of memory on all TiDB nodes eligible to run DXF tasks. This is because the DXF scheduler assumes that all eligible nodes have the same resource capacity. +When using DXF, use the same number of CPU cores and the same amount of memory on all TiDB nodes in the cluster, regardless of their [`tidb_service_scope`](/system-variables.md#tidb_service_scope-new-in-v740) settings. This is because the DXF scheduler assumes that these nodes have the same resource capacity. Before using the DXF to execute [`ADD INDEX`](/sql-statements/sql-statement-add-index.md) tasks, you need to enable the [Fast Online DDL](/system-variables.md#tidb_ddl_enable_fast_reorg-new-in-v630) mode.