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

Optimize segmentwise recompression #7482

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

antekresic
Copy link
Contributor

With the recent change to compression schema, we can optimize segmentwise recompression and target only batches which are affected to be recompressed or compress tuples which don't belong to any batch without any decompression. This means narrowing down the amount of that we need to decompress and recompress, ultimately speeding up the operation and generating less bloat in the compressed chunk.

@antekresic antekresic self-assigned this Nov 22, 2024
@erimatnor
Copy link
Contributor

Do we have benchmarks to confirm that this is faster?

With the recent change to compression schema, we can optimize
segmentwise recompression and target only batches which are
affected to be recompressed or compress tuples which don't
belong to any batch without any decompression. This means
narrowing down the amount of that we need to decompress
and recompress, ultimately speeding up the operation and
generating less bloat in the compressed chunk.
@antekresic antekresic force-pushed the antekresic/optimize_recompression branch from 6cfea3d to 97fe420 Compare November 22, 2024 13:38
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