MySQL Forums
Forum List  »  Optimizer & Parser

Re: At Performance Limit for 2 GB RAM?
Posted by: KimSeong Loh
Date: July 26, 2005 06:55PM

Difference between MyISAM and InnoDB
- MyISAM rows is stored in random in the data file, InnoDB has a clusted index on the Primary Key.
This could make some differences in the number of required disk acess.

Since the query is using the Primay key index, InnoDB may have read multiple rows in the same page/block, so it is likely that the next row that is required is already in the memory.
MyISAM needs to read 1 row at a time, each one is likely to require a disk access since the rows are not ordered in any way.

Maybe you can post the EXPLAIN result as well, it can probably show something that can give a better description of what is happening.

Also, the various buffer size allocated to MyISAM and InnoDB may also play a role.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: At Performance Limit for 2 GB RAM?
2499
July 26, 2005 06:55PM
3079
August 04, 2005 07:17PM


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.