Skip to content
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: support ADIMN ALTER DDL JOBS grammer to dynamically adjust related reorg parameters #57265

Closed
fzzf678 opened this issue Nov 11, 2024 · 1 comment
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@fzzf678
Copy link
Contributor

fzzf678 commented Nov 11, 2024

Enhancement

v8.3.0 deleted the dynamic adjustment function of tidb_ddl_reorg_worker_cnt and tidb_ddl_reorg_batch_size, but this function is useful in some scenarios:

  • During the DDL operation, the business peak period arrives, and the impact of DDL on the cluster needs to be reduced

  • When DDL is executed at a certain stage, the resource usage rate suddenly increases, and the resources available for DDL need to be reduced

  • During the add index operation, the user observes that the data backfill speed is slow and needs to increase the backfill concurrency so that the DDL can be completed within the expected time

Although these scenario can be circumvented by canceling and then re-executing the DDL, but it reduces usability and affects user experience, so we need to a convenient and easy way to control some parameters during the DDL operation. We can support ADIMN ALTER DDL JOBS ... to achieve this goal.

@fzzf678 fzzf678 added the type/enhancement The issue or PR belongs to an enhancement. label Nov 11, 2024
@fzzf678
Copy link
Contributor Author

fzzf678 commented Nov 11, 2024

repeat with #57229

@fzzf678 fzzf678 closed this as completed Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant