Why is myisam storage engine is faster than Innodb storage engine

冷暖自知 提交于 2019-12-24 10:58:54

问题


Why is myisam storage engine is faster than Innodb storage engine

what makes it to be faster and innodb to be slow?


回答1:


MyISAM can be faster than innodb because it has a simpler design. Also it has been around a much longer time, and has more time to accumulate incremental improvements and optimizations based on data on real usage.

Design of MyISAM is based on ISAM: http://en.m.wikipedia.org/wiki/ISAM

The speed comes with a price though: MyISAM does not support transactions or foreign keys. This means it is optimal for example for saving and analyzing log data, and as a backend for data mining and data warehouse technologies, while innodb is better for transaction processing and as the storage layer of information systems in general.

Wikipedia has a nice comparison of MySQL storage engines here: http://en.m.wikipedia.org/wiki/Comparison_of_MySQL_database_engines



来源:https://stackoverflow.com/questions/15608955/why-is-myisam-storage-engine-is-faster-than-innodb-storage-engine

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!