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
Introduction to structural pseudo-class selectors...
I encountered such a problem when doing the writte...
Table of contents Preface Is the interviewer aski...
A style sheet describes how a document should be ...
getElementById cannot get the object There is a s...
Table of contents 1. Code analysis 2. Source code...
In the process of learning CSS3, I found that man...
Preface mysqlslap is a diagnostic program designe...
The search performance from fastest to slowest is...
First execute the command: [root@mini61 setuptool...
1. First enter the server's mysql to modify p...
After the green version of mysql5.6 is decompress...
For reference only for Python developers using Ub...
Table of contents 1. Write in front 2. Overlay to...
The css animation of the rotating flip effect, th...