MySQL storage engine succinctly (comparison engine comes with a variety of storage)

Then introduce the basic concepts of storage engine, MySQL storage engine support, engine selection and storage operations default storage engine.

 

What is the storage engine

Database storage engine is the underlying software component database, a database management system using the data engine to create, query, update, and delete data operations. Different storage engines provide different storage mechanism, indexing techniques, lock level and other functions, the use of different storage engines can also get specific function.

Many database management systems support a variety of different storage engines. MySQL storage engine is the core.

Tip: Preferred engine InnoDB transactional databases, supports transaction-safe tables (ACID), supports row locking and foreign keys. After MySQL 5.5.5, InnoDB as the default storage engine.

MyISAM is based on the ISAM storage engine, and its extension, is one of the most commonly used storage engine in the Web, data warehousing and other application environments. MyISAM has a high insert, query speed, but does not support transactions.

MEMORY storage engine to store data in the table into memory, providing quick access to reference queries and other data.

MySQL 5.7 supports storage engine

MySQL supports several types of database engine, respectively, provide their different adaptability and flexibility for different database processing tasks according to the function and characteristics of each engine. In MySQL, you can use SHOW ENGINES statement to display the available database engine and default engine.

MySQL provides a number of different storage engines, including engines handle transaction-safe tables in the engine and handle non-transaction-safe tables. In MySQL, you need to use the same server throughout the storage engine, for specific requirements, may use different storage engine for each table.

MySQL 5.7 supports storage engines InnoDB, MyISAM, Memory, Merge, Archive, Federated, CSV, BLACKHOLE and so on. You can use SHOW ENGINESstatement view the system supported by the engine type, the results shown in FIG.

MySQL storage engine succinctly (comparison engine comes with a variety of storage)

Guess you like

Origin blog.csdn.net/mysqlsd/article/details/103652941