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

Unneeded order by #1528

Open
cvalaas opened this issue Mar 4, 2024 · 1 comment
Open

Unneeded order by #1528

cvalaas opened this issue Mar 4, 2024 · 1 comment

Comments

@cvalaas
Copy link
Collaborator

cvalaas commented Mar 4, 2024

This "order by" means the database has to sort ALL the matching records, then return the first 10 (default, and subject to an offset).
If we don't need the ordering, then the database can respond much faster.

┆Issue is synchronized with this Jira Task

@cvalaas
Copy link
Collaborator Author

cvalaas commented Mar 4, 2024

This is probably an unnoticeable slowdown normally, but given that we haven't cleared out records in a while, this could be big

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

No branches or pull requests

1 participant