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