Skip to content

Conversation

@odesenfans
Copy link
Collaborator

ORDER BY clauses in subqueries are not optimized away, resulting in degraded query plans. Fixed the issue by enforcing no ordering when building the subquery for counting matching messages.

This does not fix all performance issues but should still result in a ~30% performance improvement on slow queries.

ORDER BY clauses in subqueries are not optimized away, resulting in
degraded query plans. Fixed the issue by enforcing no ordering when
building the subquery for counting matching messages.

This does not fix all performance issues but should still result in a
~30% performance improvement on slow queries.
@odesenfans odesenfans assigned odesenfans and unassigned odesenfans Oct 27, 2025
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.

1 participant