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

[Feature] Support minor compact strategy for dedicated compaction. #4566

Closed
2 tasks done
LinMingQiang opened this issue Nov 21, 2024 · 0 comments
Closed
2 tasks done
Labels
enhancement New feature or request

Comments

@LinMingQiang
Copy link
Contributor

LinMingQiang commented Nov 21, 2024

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Why we need this.

Currently , compact action is fullCompaction in batch mode, that will merge all base file with delta file and generates a new base file. After that, we will have two copies of the full data in storage (base_file1 + delta_file1 + base_file2).

But : Sometimes we just need to merge incremental data, we allow some reduction in read performance in exchange for storage space.

Solution

This will be implemented through 3 PRs :

step 1 : Refactor compact action to support extended compact type.

step 2:Compact action supports using --compact_strategy full/minor to decide which compaction will be triggered FullCompaction or UniversalCompaction.

step 3:Add a new Procedure universal_compact for spark and flink

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@LinMingQiang LinMingQiang added the enhancement New feature or request label Nov 21, 2024
@LinMingQiang LinMingQiang changed the title [Feature] Support universal compact action for batch mode. [Feature] Support minor compact for dedicated compaction. Nov 21, 2024
@LinMingQiang LinMingQiang changed the title [Feature] Support minor compact for dedicated compaction. [Feature] Support minor compact strategy for dedicated compaction. Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant