MySQL supports multi-core CPUs

Source: Internet
Author: User
Today, when I tested how many MySQL instances a machine can support, I accidentally found that MySQL5.5 had a good support for multiple cores. I didn't say that MySQL was a huge one.

Today, when I tested how many MySQL instances a machine can support, I accidentally found that MySQL 5.5 had a good support for multiple cores. I didn't say that MySQL was a huge one.

Today, when I tested how many MySQL instances a machine can support, I accidentally found that MySQL 5.5 had a good support for multiple cores, in the past, I was not talking about a major defect in MySQL. Is it impossible to make good use of the CPU? It seems that MySQL 5.5 is still good. The test tool is sysbench, test-mode = oltp, And the buffer for each instance is 12 GB. About 36 GB of data is generated by sysbench, and buffer accounts for 1/3 of the data. Of course, the tested machine does not rely on: DELL R720XD, 24-core cpu, 96 GB memory. You can also query other parameters online. The test results are as follows:

Cpu usage when one instance is running:

Cpu usage when running two instances:

Cpu usage when four instances are running:

Cpu usage when running six instances:

From the data in the black box above, we can see that the cpu utilization of MySQL 5.5 is indeed good, and a single MySQL instance can achieve 1400 cpu utilization, that is, 14 cores. Prepare to test MySQL 5.1 at that time to see the difference between the two.

BTW, because the user part involves some company information, and I just arrived at the company, I do not know whether to disclose this information, so it will be spent.

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.