MariaDB10 and MySQL5.6 community edition stress testing

Source: Internet
Author: User
Tags dell r610
Complete the job, MariaDB10 and MySQL5.6 Community version of the stress test, see: sysbench (10.8.8.43) MySQL5.6 and MariaDB10.0.11 (10.8.8.100) pressure test parameters: sysbench -- testoltp -- mys

Complete the job, MariaDB10 and MySQL5.6 Community version of the stress test, see: sysbench (10.8.8.43) MySQL5.6 and MariaDB10.0.11 (10.8.8.100) pressure test parameters: sysbench -- test = oltp -- mys

Complete the job. For MariaDB10 and MySQL5.6 Community version stress tests, see:


Sysbench (10.8.8.43)

MySQL5.6 and MariaDB10.0.11 (10.8.8.100)


Stress test parameters:

Sysbench -- test = oltp -- mysql-table-engine = innodb -- oltp-table-size = 10000000 -- max-requests = 0 -- max-time = 900 -- num-threads = 512 -- mysql-host = 10.8.8.100 -- mysql-port = 3308 -- mysql-user = admin -- mysql-password = 123456 -- mysql-db = test run

10 million records, no request restrictions, 15 minutes of stress testing, 512 concurrent connections.


My. cnf parameters:

Sync_binlog = bytes = 0innodb_flush_method = bytes = 500innodb_log_file_size = bytes = 3innodb_log_buffer_size = 16Mtx_isolation = READ-COMMITTEDthread_handling = pool-of-threads (MariaDB thread pool)


Machine Configuration:

Relatively poor, DELL R610, 2 4-core CPUs, RAID 1 (WriteBack Policy) 7200 to SAS hard drive.



Obviously, the performance of MySQL5.6.19 is reduced by 50% in high concurrency.


Below are top and stress tests:

MySQL5.6.19

The load average reaches 195, Which is overloaded.


TPS is 1002.42 per second.


MariaDB10.0.11

Load average is 11.59


TPS is 2044.80 per second.


Supplement: now we have adjusted the number of concurrent connections to 900, and press it again. Let's take a look at TPS:

MySQL5.6.19


MariaDB10.0.11


As you can see, as the number of concurrent connections increases, the performance of MySQL5.6 continues to decline, while that of MariaDB10 keeps the performance stable.


Conclusion:

Basically similar to the official test, because there is no Enterprise Edition of MySQL5.6 in hand, MariaDB10 cannot be said to be strong, but in high concurrency environments, MySQL5.6.19 community edition is not recommended for production environments.


Official test:


This article is from the "hechun's technical column" blog. Be sure to keep this source

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.