MySQL Forums
Forum List  »  Performance

Re: Long execution time despite LIMIT 3
Posted by: Joachim Berger
Date: June 22, 2011 11:45PM

How come I don't need to include ID in the index, because of the ORDER BY id DESC..., like:

INDEX(thread,id_user_r,del_r,id)
INDEX(thread,id_user_s,del_s,id).

Howver, the EXPLAIN doesn't show a difference.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Long execution time despite LIMIT 3
878
June 22, 2011 11:45PM


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.