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

Add index creation on orderby columns #7436

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kpan2034
Copy link
Contributor

Previously, for chunks without a segmentby column specified in the compression settings, no indexes were created. This change allows indexes to be created on orderby columns only in this scenario.

Copy link

@mkindahl, @akuzm: please review this pull request.

Powered by pull-review

@kpan2034 kpan2034 marked this pull request as draft November 12, 2024 23:53
@kpan2034 kpan2034 self-assigned this Nov 16, 2024
@antekresic
Copy link
Contributor

Lets make sure we don't run segmentwise recompression on chunks without segmentby because currently its suboptimal vs doing a full recompress.

Previously, for chunks without a segmentby column specified in the
compression settings, no indexes were created. This change allows
indexes to be created on orderby columns only in this scenario.
@kpan2034 kpan2034 force-pushed the compression-indexes branch from cf5d71c to b68e994 Compare November 26, 2024 00:50
@kpan2034 kpan2034 requested review from svenklemm and akuzm November 26, 2024 00:59
@kpan2034 kpan2034 marked this pull request as ready for review November 26, 2024 00:59
Copy link
Contributor

@antekresic antekresic left a comment

Choose a reason for hiding this comment

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

Lets disable segmentwise recompression for these chunks for now, until we can optimize it in the near future.

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