-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
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)
3M tables
Add index for a table with 10k rows takes about 20 minutes
JOB_ID: 7504857
DB_NAME: sbtest29
TABLE_NAME: sbtest2
JOB_TYPE: add index
SCHEMA_STATE: public
SCHEMA_ID: 3324475
TABLE_ID: 1000158
ROW_COUNT: 20000
CREATE_TIME: 2024-11-28 02:28:25.788000
START_TIME: 2024-11-28 03:13:49.938000
END_TIME: 2024-11-28 03:33:51.738000
STATE: synced
COMMENTS: ingest, DXF
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
Release Version: v8.5.0
Edition: Community
Git Commit Hash: 3da59f7
Git Branch: HEAD
UTC Build Time: 2024-11-22 14:46:47
GoVersion: go1.23.3
Race Enabled: false
Check Table Before Drop: false
Store: tikv
Metadata
Metadata
Assignees
Labels
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.