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

Smart optimize #5621

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Smart optimize #5621

wants to merge 2 commits into from

Conversation

difin
Copy link
Contributor

@difin difin commented Jan 25, 2025

What changes were proposed in this pull request?

Added support for smart optimization as part of 'OPTIMIZE TABLE ... REWRITE DATA' command so that compaction type will be determined at runtime by analyzing the state of the table/partition to be compacted.

Why are the changes needed?

To improve compaction by determining the best compaction type (MAJOR, MINOR) at runtime for 'OPTIMIZE TABLE ... REWRITE DATA' command.

Does this PR introduce any user-facing change?

No

Is the change a dependency upgrade?

No

How was this patch tested?

Updated existing unit tests and q-tests.

@difin difin marked this pull request as draft January 25, 2025 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants