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

Option to Set Dynamic Minimum Chunk Size #854

Open
wants to merge 2 commits into
base: 3.x
Choose a base branch
from

Conversation

ahirreddy
Copy link

@ahirreddy ahirreddy commented Aug 22, 2024

  • This PR introduces a flag that allows one to set the minimum/floor on the dynamic chunk size.

  • This is important for use-cases in which a table has a insert rate that exceeds that which is allowed by the dynamically selected chunk size.

  • The contributed code is licensed under GPL v2.0

  • Contributor Licence Agreement (CLA) is signed

  • util/update-modules has been ran

  • Documentation updated

  • Test suite update

@it-percona-cla
Copy link

it-percona-cla commented Aug 22, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@svetasmirnova svetasmirnova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a test case. You can find examples in t/pt-online-schema-change

@svetasmirnova
Copy link
Collaborator

Don't forget to add a test when the last chunk that copies the last few rows from the original table is smaller than the dynamic minimum chunk size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants