Those things about MySQL (5) Selection of the build table storage engine

Source: Internet
Author: User

When MySQL sees the table, it encounters the Select storage Engine: MyISAM and InnoDB. What kind of storage engine is good?

1, MyISAM: Table lock, support full-text index, read concurrency performance is good.

2, InnoDB: Row lock, support transaction, support foreign key, write concurrency performance is good.

In fact, most of the companies now, MySQL's rules are using INNODB as the default storage engine, in addition to support transactions and row lock is the more important two reasons, in fact, MyISAM in the actual application scenario is not very meaningful, and one important reason is that the official support is strong. Oracle acquired InnoDB Early and later acquired MySQL, which now focuses on the InnoDB engine.

In addition, MyISAM table locks can seriously affect read operations for a long time when concurrent write operations occur.

How does that InnoDB make up for reading concurrency and indexing problems?

The index should not be solved by MySQL itself now, should use third party's software, for example: Es,sphinx;

As for the performance of the reading table, it can be completely solved from the aspects of architecture and cache, and the technology solution is very mature.

So, to create a MySQL data sheet please do not hesitate to choose: InnoDB.

Those things about MySQL (5) Selection of the build table storage engine

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.