MyISAM 的设计理念是,您的数据库被查询的次数远远超过其更新次数,因此它执行非常快速的读取操作.如果您的读写(插入|更新)比率小于 15%,最好使用 MyISAM.
MyISAM is designed with the idea that your database is queried far more than its updated and as a result it performs very fast read operations. If your read to write(insert|update) ratio is less than 15% its better to use MyISAM.
InnoDB 使用行级锁定,具有提交、回滚和崩溃恢复功能来保护用户数据.支持事务和容错
InnoDB uses row level locking, has commit, rollback, and crash-recovery capabilities to protect user data. It supports transaction and fault tolerance
MyISAM 和 InnobDB 之间的上述差异是否正确?请指导MYISAM和InnobDB是否有任何其他限制.我什么时候应该使用 MyiSAM 或 Innodb? 谢谢!
above differences is correct between MyISAM and InnobDB? please guide if any other limitations are there for MYISAM and InnobDB. when should i use MyiSAM or when Innodb? Thank you!
阅读存储引擎.
MyISAM:
MySQL 中的 MyISAM 存储引擎.
The MyISAM storage engine in MySQL.
InnoDB:
MySQL 中的 InnoDB 存储引擎.
The InnoDB storage engine in MySQL.
MyISAM 限制:
InnoDB 限制:
ROW_FORMAT=COMPRESSED
)如需简要了解,请阅读以下链接:
这篇关于什么时候使用 MyISAM 和 InnoDB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!