From 7bf9292342c4d66905231ec722bf91f5a2f0b24e 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 a735a4d42cce0c04fb807d459e8c6d6755582e08 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 4ab3d3da04e4e47df111b96fec2328b793acce8b 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.