在高性能MySQL第二版中文版的1.5.1小节中,在MySQL架构第一章中介绍:html
做为MySQL的默认存储引擎,在性能和可用特征之间,MyISAM提供一种良好的平衡,mysql
这些特征包括全文检索,压缩,空间函数。MyISAM不支持事务和行级锁。sql
这是由于写书是MySQL的版本尚未到5.1架构
https://dev.mysql.com/doc/refman/5.5/en/innodb-introduction.htmlless
InnoDB
is a general-purpose storage engine that balances high reliability and high performance. Starting from MySQL 5.5.5, the default storage engine for new tables is InnoDB
rather than MyISAM
. Unless you have configured a different default storage engine, issuing a CREATE TABLE
statement without an ENGINE=
clause creates an InnoDB
table. Given this change of default behavior, MySQL 5.5 might be a logical point to evaluate whether tables that use MyISAM
could benefit from switching to InnoDB
.函数
在5.5.5以后,InnoDB已经成为了MySQL的默认存储引擎性能
InnoDB
includes all the features that were part of the InnoDB Plugin for MySQL 5.1, plus new features specific to MySQL 5.5 and higher.ui