mysql - MylSAM与 InnoDB的主要区别?在业务中大家如何选择的
PHPz
PHPz 2017-04-17 11:40:11
0
3
729

MylSAM与 InnoDB的主要区别?在业务中大家如何选择的

PHPz
PHPz

学习是最好的投资!

reply all(3)
伊谢尔伦

If you search online, you can refer to http://www.cnblogs.com/villion/archive/2009/07/09/1893762.html

伊谢尔伦

Chado MylSAM
Write long InnoDB
Transaction strict InnoDB

In actual projects, we have all moved to InnoDB

Ty80

If your mysql version is later than 5.6, then the default storage engine is InnoDB. After 5.6, the performance of InnoDB has been optimized very well, and MylSAM can basically be abandoned.
If it is a version before 5.6, you can consider @vus520's answer, because MylSAM does not support foreign key and transaction operations, and is only suitable for simple table relationships. InnoDB basically supports all situations.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template