The difference between MySQL advanced storage engine MyISAM and InnoDB

Source: Internet
Author: User
One, Storage engine (table type)

In general, a database is a collection of data, and a computer database can be a collection of some files on a memory or a collection of some memory data. The MySQL database, SQL Server database, and so on, we usually say, are database management systems (databases Management system, or DBMS) that can store data and provide functions such as querying and updating.

The storage engine is how to index the stored data, how to update and query the data, and so on. Because the storage of data in a relational database is stored as a table, the storage engine is also known as a table type.

Ii. InnoDB and MyISAM

InnoDB and MyISAM are the most commonly used two table types, with the basic differences being mainly:

MyISAM storage Engine is characterized by: table-level lock, not support transaction and full-text index, suitable for some CMS content management system as a back-end database to use, but the use of large concurrency, heavy-duty production system, the structure of the table lock appears to be inadequate;

The InnoDB storage engine is characterized by row-level locking, transactional security (acid-compatible), foreign key support, and an index that does not support fulltext types (5.6.4 later versions support fulltext-type indexes). The InnoDB storage Engine provides a transactional secure storage engine with commit, rollback, and crash resiliency. The InnoDB is designed for maximum performance when handling large quantities. Its CPU efficiency could be unmatched by any other disk-based relational database engine.

The difference between MySQL advanced storage engine MyISAM and InnoDB

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.