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

Partition pruning: Use min_ordering only on messages query #363

Merged
merged 3 commits into from
Oct 25, 2023

Conversation

tiagomota
Copy link
Contributor

@tiagomota tiagomota commented Oct 24, 2023

Query performance takes a hit if we use min and max_ordering values to do both sides of partition pruning. Keeping one of them keeps the same expected query plan.

@tiagomota tiagomota self-assigned this Oct 24, 2023
Copy link
Member

@lomigmegard lomigmegard left a comment

Choose a reason for hiding this comment

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

It's a temporary fix, it should be safe to do for now.

@tiagomota tiagomota changed the title Do not use metadata table on messages query Partition pruning: Use min_ordering only on messages query Oct 24, 2023
@tiagomota tiagomota merged commit 66b6463 into master Oct 25, 2023
3 checks passed
@tiagomota tiagomota deleted the fix/remove-metadata-usage-on-messages-query branch October 25, 2023 13:13
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