From 4219969a036602b86ae5cfb5faf5cefbd95ef4e3 Mon Sep 17 00:00:00 2001 From: lhy1024 <19542290+lhy1024@users.noreply.github.com> Date: Wed, 23 Sep 2026 17:07:58 +0800 Subject: [PATCH 1/3] docs: document CSE load-based split in Cloud 2609 Signed-off-by: lhy1024 <19542290+lhy1024@users.noreply.github.com> --- configure-load-base-split.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/configure-load-base-split.md b/configure-load-base-split.md index 63abac9ff2194..af88338d1f5d0 100644 --- a/configure-load-base-split.md +++ b/configure-load-base-split.md @@ -29,6 +29,8 @@ The Region split by Load Base Split will not be merged quickly. On the one hand, ## Usage + + The Load Base Split feature is currently controlled by the following parameters: - [`split.qps-threshold`](/tikv-configuration-file.md#qps-threshold): The QPS threshold at which a Region is identified as a hotspot. The default value is `3000` per second when [`region-split-size`](/tikv-configuration-file.md#region-split-size) is less than 4 GB; otherwise the default value is `7000`. @@ -87,3 +89,28 @@ Accordingly, you can view the configuration by either of the following two metho > **Note:** > > Starting from v4.0.0-rc.2, you can modify and view the configuration using SQL statements. + + + + + +### Load Base Split in Cloud Storage Engine + +Starting from TiDB Cloud 2609, Cloud Storage Engine (CSE) supports Load Base Split. **Load Base Split is disabled by default in CSE.** + + + +When enabled, CSE collects read request statistics over multiple detection rounds to identify sustained hotspots. It first selects a split position from sampled query ranges, aiming to balance read load and reduce queries that span both resulting Regions. + +If sampling cannot find a suitable position, CSE can use a CPU-based fallback for expensive scans. This requires a busy local read thread pool, substantial CPU usage by both the Region and the scan, and spare capacity in the gRPC request-handling threads. CSE looks for bucket, SST file, or block boundaries within the hot range, and can fall back to a boundary elsewhere in the Region. The selection uses storage metadata and indexes without scanning data rows. + +Before applying the split, CSE checks that the Region state and split position are still valid. PD can then schedule the resulting Regions to distribute read load. + +Consider the following limitations: + +- Splitting cannot distribute the load of a single hot key across Regions. +- A split can increase network requests and coordination work for queries that access both resulting Regions. +- The CPU fallback uses local read thread pool CPU usage. It does not include remote coprocessor CPU usage or evaluate CPU usage relative to each keyspace's quota. +- A fallback split does not guarantee equal load between the resulting Regions. Performance gains depend on the access pattern, available node capacity, and subsequent scheduling. + + From 17ff04caf0d5846ad2d47726ef86b72e89eb03ef Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Fri, 27 Nov 2026 17:30:48 +0800 Subject: [PATCH 2/3] Update configure-load-base-split.md --- configure-load-base-split.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure-load-base-split.md b/configure-load-base-split.md index af88338d1f5d0..a2cca6fbceb2c 100644 --- a/configure-load-base-split.md +++ b/configure-load-base-split.md @@ -96,9 +96,9 @@ Accordingly, you can view the configuration by either of the following two metho ### Load Base Split in Cloud Storage Engine -Starting from TiDB Cloud 2609, Cloud Storage Engine (CSE) supports Load Base Split. **Load Base Split is disabled by default in CSE.** +Starting from Cloud.2609.1 for TiDB Cloud Essential and Premium, TiDB Cloud Storage Engine supports Load Base Split. - +Currently, Load Base Split for Cloud Storage Engine is in private preview and is disabled by default. To enable this feature, contact [TiDB Cloud Support](https://docs.pingcap.com/tidbcloud/tidb-cloud-support) to modify the configuration. When enabled, CSE collects read request statistics over multiple detection rounds to identify sustained hotspots. It first selects a split position from sampled query ranges, aiming to balance read load and reduce queries that span both resulting Regions. From 52d73d008bbabbd1087b4756fba2506997017205 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Fri, 27 Nov 2026 17:49:44 +0800 Subject: [PATCH 3/3] Update configure-load-base-split.md --- configure-load-base-split.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure-load-base-split.md b/configure-load-base-split.md index a2cca6fbceb2c..db6eec30881ef 100644 --- a/configure-load-base-split.md +++ b/configure-load-base-split.md @@ -98,7 +98,7 @@ Accordingly, you can view the configuration by either of the following two metho Starting from Cloud.2609.1 for TiDB Cloud Essential and Premium, TiDB Cloud Storage Engine supports Load Base Split. -Currently, Load Base Split for Cloud Storage Engine is in private preview and is disabled by default. To enable this feature, contact [TiDB Cloud Support](https://docs.pingcap.com/tidbcloud/tidb-cloud-support) to modify the configuration. +Currently, Load Base Split for Cloud Storage Engine is in private preview. During the private preview, Load Base Split is disabled by default. To request enablement for your instance, contact [TiDB Cloud Support](https://docs.pingcap.com/tidbcloud/tidb-cloud-support). When enabled, CSE collects read request statistics over multiple detection rounds to identify sustained hotspots. It first selects a split position from sampled query ranges, aiming to balance read load and reduce queries that span both resulting Regions.