-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
tell mysql to ignore the sort index for search queries #32074
Conversation
74a83c7
to
b6ad124
Compare
Signed-off-by: Robin Appelman <robin@icewind.nl>
b6ad124
to
a4e120c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ugly but makes sense :(
/backport to stable24 |
/backport to stable23 |
/backport to stable22 |
This kills performance for file searches (likes /apps/photos [WITH PREVIEWS EXISTING]) on MariaDB 10.5.
Without the
Reverting the change allows my /apps/photos to be useable rather than 10 second hangs when scrolling. |
From what I've seen in large instances, the |
Cleaner version of #29300 (ab)using mysql's inability to use an index for sorting by function.