Home  >  Article  >  Database  >  What is the difference between InnoDB and MyISAM storage engines?

What is the difference between InnoDB and MyISAM storage engines?

王林
王林forward
2020-06-13 17:36:152168browse

What is the difference between InnoDB and MyISAM storage engines?

The difference between InnoDB and MyISAM storage engines:

InnoDB storage engine:

The current mainstream of MySQL storage engines, the InnoDB storage engine supports transactions , supports row locks, supports non-locking reads, and supports foreign keys.

MyISAM storage engine:

MyISAM does not support transactions, does not support row-level locks, supports table locks (low efficiency), and supports full-text indexes. The biggest flaw is that it cannot be safely recovered after a crash.

Recommended tutorial: mysql tutorial

The above is the detailed content of What is the difference between InnoDB and MyISAM storage engines?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:juejin.im. If there is any infringement, please contact admin@php.cn delete