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

Avoid using the instant algorithm #160

Merged
merged 2 commits into from
Jun 5, 2024
Merged

Conversation

coding-chimp
Copy link

@coding-chimp coding-chimp commented Jun 5, 2024

MySQL 8 defaults to using the INSTANT algorithm for operations that support it. This change aims to avoid that.

We suspect we've run into a bug around using the INSTANT algorithm on empty tables. While this is still getting verified, using the algorithm is also entirely unnecessary for LHM. We're applying the changes to empty tables, which will always be quick. There's also a limit on how often you can instant changes to a table until it has to be rebuilt. Since you might be using LHM to rebuild the table, it makes sense not to use up the limit while doing it.

@coding-chimp coding-chimp force-pushed the bb/avoid-instant-algorithm branch from a67b88b to df3988b Compare June 5, 2024 09:32
@coding-chimp coding-chimp requested a review from a team June 5, 2024 09:51
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.

2 participants