2

I have seen mysql queries with order by runs slow.

Is there any specific way to optimize queries which use order by ?

Queries without order by run very fast but with order by its always runs slow.

if any one suggest any thing on this as general solutions.

Thank You

4
  • 3
    dev.mysql.com/doc/refman/5.0/en/order-by-optimization.html Commented Jun 18, 2010 at 9:21
  • @madgnome should have posted as an answer. Commented Jun 18, 2010 at 9:21
  • @Graphain done, I am always reluctant to write so short answer with a link. Commented Jun 18, 2010 at 9:29
  • 1
    @madgnome: Short answers have high signal to noise ratio ;) Commented Jun 18, 2010 at 9:36

1 Answer 1

2

You could find an exhaustive answer on Mysql Site on ORDER BY Optimization.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.