Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the difference between the MySQL storage engine

2025-01-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

What is the difference between MySQL storage engine, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

MySQL has a variety of storage engines, each of which has its own advantages and disadvantages, which can be selected and used: MyISAM, InnoDB, MERGE, MEMORY (HEAP), BDB (BerkeleyDB), EXAMPLE, FEDERATED, ARCHIVE, CSV, BLACKHOLE.

MySQL has a variety of storage engines, each of which has its own advantages and disadvantages, so you can choose to use it:

MyISAM, InnoDB, MERGE, MEMORY (HEAP), BDB (BerkeleyDB), EXAMPLE, FEDERATED, ARCHIVE, CSV, BLACKHOLE.

MySQL supports several storage engines as processors for different types of tables. The MySQL storage engine includes an engine that processes transactional security tables and an engine that processes non-transactional security tables:

MyISAM manages non-transactional tables. It provides high-speed storage and retrieval, as well as full-text search capabilities. MyISAM is supported in all MySQL configurations and is the default storage engine unless you configure MySQL to use another engine by default.

The MEMORY storage engine provides in-memory tables. The MERGE storage engine allows collections to process the same MyISAM table as a separate table. Just like MyISAM, the MEMORY and MERGE storage engines handle non-transactional tables, and both engines are included in MySQL by default.

The MEMORY storage engine is officially identified as the HEAP engine.

The InnoDB and BDB storage engines provide transaction security tables. BDB is included in the MySQL-Max binary distribution released for the operating system that supports it. InnoDB is also included by default in all MySQL5.1 binary distributions, and you can configure MySQL to allow or disable any engine as you like.

The EXAMPLE storage engine is a "stub" engine that does nothing. You can use this engine to create tables, but no data is stored or retrieved from it. The purpose of this engine is to serve as an example in the MySQL source code that demonstrates how to start writing a new storage engine. Again, its main interest is for developers.

NDBCluster is a storage engine used by MySQLCluster to implement tables split into multiple computers. It is available in the MySQL-Max5.1 binary distribution. This storage engine is currently only supported by Linux,Solaris, and MacOSX. In future MySQL distributions, we want to add support for this engine on other platforms, including Windows.

The ARCHIVE storage engine is used to cover large amounts of stored data indexed and very small.

The CSV storage engine stores data in a text file in a comma-delimited format.

The BLACKHOLE storage engine accepts but does not store data, and retrieval always returns an empty set.

The FEDERATED storage engine stores data in a remote database. In MySQL5.1, it only works with MySQL and uses MySQLCClientAPI. In future distributions, we want it to connect to another data source using a different drive or client connection method.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report