MySQL's storage engine

Source: Internet
Author: User

The storage engine, also known as the table type, refers to the way that MySQL uses different technology settings for various scenarios to store tables.

Common ones are: Myisam,innodb,bdb,memery,merge,archive,federated,cluster/ndb,csv,blackhole.

Introduction to the scene:

MYISAM: Has a high insertion and query speed, but does not support transactions,

Innodb:mysql5.5+ 's default database, the preferred engine for transactional databases, supports acid (atomicity, consistency, independence, persistence) transactions and supports row-level locking

BDB: Transactional database, support for other transactional features such as commit and rollback

Memery: All data placed in the memory of the storage engine, with very high insertion, update and query efficiency. However, it consumes storage space that is proportional to the amount of data. And its contents are lost when MySQL restarts.

Merge: Combine a certain number of myisam into a single whole, which is useful for ultra-large data storage

Archive: Ideal for storing large amounts of independent data as historical records, as they are not often read. Archive has the insertion speed of universities, but its support for queries is poor.

Federated: Combine different MySQL servers to logically form a complete database, ideal for distributed applications.

CLUSTER/NDB: A highly redundant storage engine that provides services in conjunction with multiple data machines to improve overall performance and security. Suitable for applications with high data volumes, security and performance requirements.

CSV: Logically, the storage engine that splits the data. He would create a. csv file for each database in the database subdirectory. This is a plain text file, where each row of data occupies a line of text and does not support indexing.

Blackhole: Black hole engine, any data written will disappear, generally used to record Binlog (binary log) to do replication relay.

MySQL's storage engine

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.