MySQL Forums
Forum List  »  Optimizer & Parser

Re: Optimizer Decisions change with Storage Engine [MyISAM, InnoDB]
Posted by: KimSeong Loh
Date: July 04, 2007 06:45AM

Did you miss your Primary key for table B and C ? You cannot have auto_increment that is not indexed.

Assuming IDX is your primary key.

The difference is due to the way InnoDB stores the secondary index. InnoDB secondary index has no pointers but the value of the Primary Key, therefore the primary key value is available to the index of InnoDB but not in the index of MyISAM.

Options: ReplyQuote




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.