-
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
Control the max number of row and bytes lighting sends to tidb #46607
Comments
Hi, not sure if I understand it correctly. In logical backend lightning will try to send data every 1MB. ( tidb/br/pkg/lightning/backend/tidb/tidb.go Lines 614 to 617 in a427113
with the concurrency of And can you explain why the default value is not good enough? |
this 1M is useless, as deliverLoop send in 96K batch, see #46997 (comment) |
Feature Request
Is your feature request related to a problem? Please describe:
In lightning physical backend, we can set the store-write-bwlimit to control how much data lightning send to tikv.
Can we have similar feature in logical mode?
We already have minDeliverBytes here but it's not configurable.
Can we make it configurable and also have another config like minDeliverRows to control the rows it sends?
Describe the feature you'd like:
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: