-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ddl: compared with v6.6.0, v7.0.0 has 10% - 13% performance regression #42456
Comments
The root cause is after #40692 , I moved "generating job" logic into the single thread producer, and in each round, after all job is generated we send them to consumer tidb/br/pkg/lightning/backend/local/local.go Lines 1398 to 1426 in 4e30a64
however, in old code generating job is scattered in multiple worker that runs concurrently The CPU profile can locate this problem. in timestamp 1680237360 |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
alter table github_events add index test_idx(repo_id,type,action,closed_at,actor_login)
2. What did you expect to see? (Required)
No performance regression
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
v7.0.0
The text was updated successfully, but these errors were encountered: