Bug #25402 | Optimisation replacing filesort for bigger result sets | ||
---|---|---|---|
Submitted: | 4 Jan 2007 1:58 | Modified: | 18 Aug 2007 19:49 |
Reporter: | Arjen Lentz | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S4 (Feature request) |
Version: | any | OS: | Any (any) |
Assigned to: | CPU Architecture: | Any | |
Tags: | filesort, GROUP BY, optimization, Optimizer, order by, sorting |
[4 Jan 2007 1:58]
Arjen Lentz
[4 Jan 2007 15:27]
Valeriy Kravchuk
Thank you for a reasonable feature request.
[18 Aug 2007 0:51]
Igor Babaev
- The proposals and the arguments of the reporter are quite disputable: apparently the reporter forgets about sorting together with the output data. I move the case to 'Not a bug'.
[18 Aug 2007 1:59]
Arjen Lentz
Hi Igor. Thanks for your comment. Please note that this was a feature request already, so declaring it "not a bug" seems a bit superflous. Also, you may have missed the intent of the trick. The output is indeed sorted, and it's sorted by indexing the intermediate result set. And as the original report indicates, Brian Aker thought the idea has merit. It would be great to not see it just dismissed like this. Thanks