The storage engine for MySQL database

Source: Internet
Author: User

The storage engine for MySQL database

The storage engine is a unique feature of the MySQL database, and other databases do not have such functionality. The so-called storage engine is the way the database stores data at the bottom. Here is a brief summary of the storage engines that were previously exposed.

MySQL default storage engine is the INNODB,INNODB feature has the following points:

1.InnoDB Storage Engine supports data recovery after database crash;2. TheInnoDB storage engine supports foreign key constraints, supports cascading updates and cascade deletions, and3. InnoDB storage Engine supports things.

Because the InnoDB storage engine supports things, it is a highly secure storage engine, but the storage engine is slightly less efficient.

There is also a storage engine called the MyISAM storage Engine, which has a slightly more efficient storage engine. This storage is stored by three files together, and these three files are in. frm/. Myd/. Myi end of the file, respectively, representing the format file, data file, index file. It is because of these three files that the data is stored together, which makes the storage efficiency of the MyISAM storage engine slightly higher. But this storage engine does not support things, so it is less secure than the InnoDB storage engine.

In addition, there is a more efficient storage engine called memory. This storage engine keeps the data in memory, so it is very efficient because it does not require an IO stream, but because it keeps the data in memory, it has the lowest security.

Welcome to Exchange Mr. Zhang [email protected]

The storage engine for MySQL database

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.