In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article is about what the MySQL storage engine has. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
MySQL has a variety of storage engines, each of which has its own advantages and disadvantages. You can choose to use 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.
Note: 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 MySQL 5.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.
NDB Cluster is a storage engine used by MySQL Cluster to implement tables split into multiple computers. It is available in the MySQL-Max 5.1 binary distribution. This storage engine is currently only supported by Linux, Solaris, and Mac OS X. 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 MySQL 5.1, it only works with MySQL and uses MySQL C Client API. In future distributions, we want it to connect to another data source using a different drive or client connection method.
When you create a new table, you can tell MySQL what type of table you want to create by adding an ENGINE or TYPE option to the CREATE TABLE statement:
CREATE TABLE t (I INT) ENGINE = INNODB; CREATE TABLE t (I INT) TYPE = MEMORY
Although TYPE is still supported in MySQL 5.1, ENGINE is now the preferred term.
Thank you for reading! This is the end of this article on "what are the MySQL storage engines?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.