Differences between MyISAM and InnoDB in MySQL

Source: Internet
Author: User
MyISAM is the default storage engine for MySQL. Each table supports a maximum of _ 4.295E + 09 records and 64 index fields. The two may be larger for different versions.

MyISAM is the default storage engine for MySQL. Each table supports a maximum of _ 4.295E + 09 records and 64 index fields. The two may be larger for different versions.

MyISAM is the default storage engine for MySQL. Each table supports a maximum of _ 4.295E + 09 records and 64 index fields. The two may be larger for different versions.

MyISAM also supports full-Text indexing of Text/Blo fields. The tables and indexes of MyISAM databases are separated. The file extensions are. MYD and. MYI. These files can be directly copied to other MySQL databases for use. (Is it an advantage ?)

InnoDB is designed for maximum performance when processing massive data. The maximum tablespace can be the entire file or disk. Supports transaction processing, foreign keys, and row-level locks. (During row-level locking, InnoDB is only valid for where as the primary key. non-primary keys lock the entire table)

If you want to insert, update, or delete a table greater than the query value, select InnoDB
If you need to design a relational database, select InnoDB
If you need to perform full-text search, select MyISAM
If you have disk space restrictions, select MyISAM
If you are not clear about other conditions, select MyISAM

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.