MySQL Forums
Forum List  »  Performance

Re: Optimizing a query with UNION
Posted by: Peter Brawley
Date: March 14, 2013 09:08PM

The Explain result says the performance killer is Order By on the Union. Did you try adding ID to the reply.question_id index

Options: ReplyQuote


Subject
Views
Written By
Posted
3602
March 14, 2013 03:28PM
Re: Optimizing a query with UNION
1219
March 14, 2013 09:08PM
1193
March 14, 2013 10:41PM
1316
March 15, 2013 11:32PM


Sorry, you can't reply to this topic. It has been closed.

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.