MySQL Forums
Forum List  »  Optimizer & Parser

Re: Rows Examined, why so many?
Posted by: Jay Pipes
Date: September 20, 2005 03:54PM

Daniel is correct. Also remember that the EXPLAIN SELECT output is only a *guess* made by the optimizer regarding what it believes will be the number of index records which will match the search criteria, based on the info MySQL has regarding the distribution of keys in the index. The actual number of rows returned, as you saw, can be different.

Jay Pipes
Community Relations Manager, North America, MySQL Inc.

Got Cluster? http://www.mysql.com/cluster
Personal: http://jpipes.com

Options: ReplyQuote


Subject
Views
Written By
Posted
21308
September 20, 2005 12:15PM
9549
September 20, 2005 03:18PM
5913
September 21, 2005 08:12AM
Re: Rows Examined, why so many?
4779
September 20, 2005 03:54PM
4346
September 20, 2005 07:10PM
4173
September 21, 2005 05:05AM
4085
September 21, 2005 08:13AM


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.