MySQL Forums
Forum List  »  Optimizer & Parser

Re: With vs Without Primary Key in a particular case
Posted by: KimSeong Loh
Date: July 20, 2006 05:35PM

It will have to read all the rows or all the values of the join column from one of the table and then try to find the matching value in the other table.

ALL and use index difference is that ALL will read all the data rows while use index will read from the index (MYI) without having to access the data (MYD). Either one will still read all the values from the 1st table.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: With vs Without Primary Key in a particular case
2847
July 20, 2006 05:35PM


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.