InnoDB supports transactional features, MyISAM not supported.
Myisam executes faster and performs better.
2, select, UPDATE, INSERT, delete operationMyISAM: If performing a large number of select,myisam is a better choice InnoDB: If your data performs a large number of inserts or update, for performance reasons, you should use the InnoDB table
3. different locking mechanism InnoDB is a row-level lock and MyISAM is a table-level lock. Note: When the database is not determined, the row you are looking for is also locked into the entire table. such as: Update table Set num = ten where username like "%test%";
4. The number of rows in the query table is differentMyISAM:Select COUNT (*) from Table,myisam simply read the number of rows saved, and note that when the COUNT (*) statement contains a where condition, the operation of the two tables is the same InnoDB : The exact number of rows in the table is not saved in InnoDB, that is, when the select count (*) from table is executed, InnoDB will scan through the entire table to calculate how many rows
5. Different Physical StructureMyISAM: Each MyISAM is stored on disk as three files. The first file name begins with the name of the table, and the extension indicates the file type. The. frm file stores the table definition. The data file has an extension of. MYD (MYData). The extension of the index file is. MYI (Myindex)
InnoDB: A disk-based resource is a InnoDB tablespace data file and its log file, and the size of the InnoDB table is limited only by the size of the operating system file, typically 2GB
The main difference between InnoDB and MyISAM in the Mysql storage engine