MySQL Forums
Forum List  »  Optimizer & Parser

Re: Query optimization
Posted by: Rick James
Date: May 16, 2013 08:18AM

A more efficient index leads to fewer rows scanned.

If "filesort" went away, then it also avoided reading the entire table to perform the query. Instead, it read only until it found the "LIMIT 1" row that it needed.

Options: ReplyQuote


Subject
Views
Written By
Posted
2828
May 10, 2013 05:35AM
1365
May 12, 2013 08:42PM
1320
May 15, 2013 06:45AM
1342
May 15, 2013 08:35AM
Re: Query optimization
1455
May 16, 2013 08:18AM
1393
May 17, 2013 03:52AM
1320
May 17, 2013 11:47PM
1232
May 21, 2013 08:51AM
1390
May 22, 2013 08:08AM


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.