Today we are going to talk about the MySQL storage engine. As a friend who works in the data analysis industry, I always say that we don’t need to go into detail about what the MySQL storage engine is, as long as we understand it. 1. Introduce casesThere are two people, Zhang Ma Hu and Li Xiaoxin, who are bicycle managers at the subway entrance. Every day many people come to store and retrieve bicycles. Zhang Mahu's management method is to store the items on his own without recording what car it is. Li is very careful. When he parks or retrieves his bike, he records the characteristics of the person who parks the bike and the characteristics of the bike. When someone comes to pick up the bike, he has to carefully check whether the characteristics of the person and the bike correspond. think: The name storage engine exists only in the mysql database. There is a corresponding mechanism in Oracle, but it is not called a storage engine. In Oracle, it is called the storage method of the table. MySQL supports many storage engines, each of which has its own data storage method. At the same time, each storage engine has its own advantages and disadvantages. Therefore, you need to choose a storage engine that suits you at the right time. 2. View the system's default storage engine and default character set-- MySQL versions 5.0 and above support 9 storage engines. -- There is no need to write a semicolon after this code. mysql> show engines \G -- View the system's current default storage engine. mysql> show variables like '%storage_engine%'; -- View the system default character set. mysql> show variables like '%char%'; 3. Common storage engines1) MyISAM: does not support transactions. (Zhang Ma Hu)Advantages and disadvantages of MyISAM:2) InnoDB: supports transactions. (Li Xiaoxin)Advantages and disadvantages of InnoDB:3) MEMORY (just understand this)Advantages and disadvantages of MEMORY:4. Just understand the picture belowThe above is the detailed content of the example explanation of MySQL data analysis storage engine. For more information about MySQL data analysis storage engine, please pay attention to other related articles on 123WORDPRESS.COM! You may also be interested in:
|
<<: HTML drawing user registration page
>>: CSS3 realizes the animation of shuttle starry sky
Table of contents uni-app Introduction HTML part ...
Table of contents 1: Single machine password-free...
Table of contents Shallow copy Deep Copy Replenis...
This article shares a common example of viewing p...
Table of contents 1. Installation: 2. Use: 3. Bui...
Table of contents introduction Cookie What are Co...
The datetime type is usually used to store time i...
When the resolution of the login interface is par...
Table of contents background Problem location Fur...
1. Introduction: I think the changes after mysql8...
mysql gets all dates or months in a time period 1...
Download tutorial of mysql-connector-java.jar pac...
In MySQL, there is a function called "group_...
I've been learning about stacking contexts re...
<br /> Focusing on the three aspects of text...