MySQL's storage engine

Source: Internet
Author: User
Tags bulk insert

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.