Differences between MySQL InnoDB/MyISAM/merge/bdb/heap

Source: Internet
Author: User

Official accurate explanation

· MyISAM: the default MySQL plug-in storage engine, which is one of the most commonly used storage engines in Web, data warehousing, and other application environments. Note: by changing the storage_engine configuration variables, you can easily change the default storage engine of the MySQL server.

· InnoDB: used for transaction processing applications. It has many features, including ACID transaction support.

· Bdb: it can replace InnoDB's transaction engine and support commit, rollback, and other transaction features.

· Memory: stores all data in Ram and provides extremely fast access in environments where reference and other similar data need to be quickly searched.

· Merge: Allows MySQL DBAs or developers to logically combine a series of equivalent MyISAM tables and reference them as one object. It is suitable for vldb environments such as data warehousing.

· Archive: provides a perfect solution for storing and retrieving a large number of rarely referenced historical, archived, or security audit information.

· Federated: connects multiple separated MySQL servers and creates a logical database from multiple physical servers. It is very suitable for distributed environments or data mart environments.

· Cluster/NDB: MySQL's cluster-based database engine is especially suitable for applications with high-performance search requirements. Such search requirements also require the highest normal working time and availability.

· Other: other storage engines include CSV (referencing files separated by commas as database tables), blackhole (used to temporarily prohibit database application input ), and the example engine (which can help you quickly create a custom plug-in storage engine ).

Remember that you do not have to use the same storage engine for the entire server or solution. You can use different storage engines for each table in the solution. This is very important.

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.