-
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: introduce a new system variable to control the store-write-bwlimit
when ingesting (#57145)
#57378
ddl: introduce a new system variable to control the store-write-bwlimit
when ingesting (#57145)
#57378
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release-8.5 #57378 +/- ##
================================================
Coverage ? 57.0891%
================================================
Files ? 1780
Lines ? 642099
Branches ? 0
================================================
Hits ? 366569
Misses ? 251346
Partials ? 24184
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tangenta, yudongusa The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is an automated cherry-pick of #57145
What problem does this PR solve?
Issue Number: close #57156
Problem Summary:
See the issue description
What changed and how does it work?
Introduce a new system variable to control the
store-write-bwlimit
when ingestingCheck List
Tests
Manual test:
tidb_ddl_enable_fast_reorg
, and withtidb_enable_dist_task
on or off, do the following test:tidb_ddl_reorg_max_write_speed
to1mb
tidb_ddl_reorg_max_write_speed
to0
(no limitation), the speed of adding index increasesFor a table containing 200,000 rows:
Setting
tidb_ddl_reorg_max_write_speed
from4mb
to unlimited would result in different speeds of adding index:With the
tidb_ddl_reorg_max_write_speed
increased, the metric shows that the number of write operations increased as expectedTo verify that decreasing the
tidb_ddl_reorg_max_write_speed
helps to lower the impact of ADD INDEX on online service, we observe that with a further speed limitation, the QPS of sysbench increases.Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.