Performance Comparison Between MySQL MyISAM and InnoDB for querying large data volumes

Source: Internet
Author: User
There is a MySQL database with more than 1.1 billion records because of its working relationship. I thought that the query performance of the MyISAM engine would exceed InnoDB. I tried it these two days,

There is a MySQL database with more than 1.1 billion records because of its working relationship. I thought that the query performance of the MyISAM engine would exceed InnoDB. I tried it these two days,

There is a MySQL database with more than 1.1 billion records because of its working relationship. I thought that the query performance of the MyISAM engine would exceed InnoDB. I tried it these two days, but because the data volume is too large, the conversion engine took several days.

Test environment:

DELL 860 server, CPU Xeon3210, memory 8 GB

MySQL 5.5.13 has two instances installed, with ports 3306 (InnoDB) and 3307 (MyISAM)

MySQL client tool HeidiSQL 6.0.0.3603, query statement:

Select count (1) from mytable where update_datetime> '2017-01-01'

Update_datetime fields are indexed.

The query time is as follows (1,132,191,947 records in total ):

InnoDB: 763.672 seconds

MyISAM: 4094.621 seconds

InnoDB is more than 4 times faster than MyISAM

In the future, we will have the opportunity to test the performance of ms SQL and Oracle.

,

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.