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

chore(storage): select compaction strategy using statistics #689

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

chaixuqing
Copy link
Contributor

Signed-off-by: chaixuqing xuqingchai00@gmail.com

close #638

If we find distinct value statistics is very small compared with row counts, we can use RLE encoding when building RowSets.

Copy link
Member

@skyzh skyzh left a comment

Choose a reason for hiding this comment

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

Rest LGTM, good work!

src/storage/secondary/compactor.rs Show resolved Hide resolved
src/storage/secondary/rowset/disk_rowset.rs Outdated Show resolved Hide resolved
Signed-off-by: chaixuqing <xuqingchai00@gmail.com>
@skyzh skyzh merged commit a271df6 into risinglightdb:main Sep 8, 2022
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.

storage: select compaction strategy using statistics
2 participants