-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.component/ddlThis issue is related to DDL of TiDB.This issue is related to DDL of TiDB.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
currently, global sort always split data into ranges of 96M, but TiKV already increased the default region size to 256M now, so we will ingest 3 SST files per region.
for import-into see
tidb/pkg/disttask/importinto/planner.go
Lines 550 to 551 in bf21e59
int64(config.SplitRegionSize), | |
int64(config.SplitRegionKeys), |
tidb/pkg/ddl/backfilling_dist_scheduler.go
Line 675 in bf21e59
int64(config.SplitRegionSize), int64(config.SplitRegionKeys), |
and the ingest performance of TiKV slows down when the number of SST files grows too much, say more than 300K
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
v8.1.0
Metadata
Metadata
Assignees
Labels
affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.component/ddlThis issue is related to DDL of TiDB.This issue is related to DDL of TiDB.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.