Comparison of MySQL database engine MyISAM and InnoDB

Source: Internet
Author: User


Storage Engine
MyISAM InnoDB, most commonly used
can be configured
Default-storage-engine=innodb Configuring the default engine

MyISAM These 3 together structure, data, index (a table consisting of these 3)

Engine MyISAM
Engine InnoDB
1. Save the file in different ways
MYISAM:XXX.FRM structure
Xxx.myd data
Xxx.myi Index
InnoDB: A table one file
XXX.FRM structure
So the InnoDB table uses the same INNODB storage table space to save data and indexes

Type query speed, Advantage
MyISAM blocks (indexes and data are saved separately, so the index can be compressed, so the query block) is queried and inserted (table-level lock)
InnoDB Slow Update and delete (row-level lock) so, high concurrency

Comparison of MySQL database engine MyISAM and InnoDB

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.