Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 31429

MySQL version 8.0 - please also tag with mysql for search purposes.

0 votes
1 answer
32 views

How do I get MySQL to use a suitable index instead of a filesort for a window function?

I am using MySQL version 8.0.38. Given the following table: CREATE TABLE `url_alias` ( `pid` INT UNSIGNED NOT NULL AUTO_INCREMENT, `src` VARCHAR(128) NOT NULL DEFAULT '' COLLATE 'utf8mb3_gener …
tuespetre's user avatar
  • 181
1 vote
Accepted

How do I get MySQL to use a suitable index instead of a filesort for a window function?

This appears to be a limitation of MySQL, as remarked by the MySQL team in the following bug report: This is actually a problem that was discussed last year and it was concluded that with a current i …
tuespetre's user avatar
  • 181