1. Storage Engine Concepts
Let's say: A movie has mp4,wmv,avi,flv ... and other formats. The same movie has different storage formats on the hard disk, and the amount of space and clarity varies.
So how does the data in our table be stored on the hard disk?
There are many different ways to store it.
For the user, the same table of data, no matter what engine to store, the user sees the same data,
But there is a difference between the servers.
The database has different ways of storing and managing the same data, in MySQL, called the storage engine.
2. Storage engine with its features
Features Myisam InnoDB
Speed of BULK Insert
Transaction security does not support support
Full-text indexing support (5.5 or later)
Lock mechanism table lock row lock
Only two commonly used ones are listed here.
3. How to specify the storage engine
CREATE TABLE Test
(
ID int,
Name varchar
) engine InnoDB;
MySQL's storage engine