May 24, 2012

Post: ORDER BY ... LIMIT Performance Optimization

worse… const | 1 | Using temporary; Using filesort | | 1 |…is likely to be way slower than LIMIT 0,10. It is true most users will not go further thanfilesort. The solution for this problem is ether extending your indexes so MySQL Optimizer does not have to chose between better sort or better lookup or