Bug #72518 UPDATE ORDER BY does a filesort if updating a column in the index
| Submitted: | 2 May 2014 23:42 | Modified: | 30 Aug 2015 20:59 |
|---|---|---|---|
| Reporter: | Harrison Fisk | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S5 (Performance) |
| Version: | 5.6.16 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | filesort, Optimizer | ||
[2 May 2014 23:42]
Harrison Fisk
[30 Aug 2015 20:59]
Paul DuBois
Noted in 5.7.9, 5.8.0 changelogs. For UPDATE statements with ORDER BY, the optimizer could perform an unnecessary filesort on a key that was used for scanning as well as being updated.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.