PS: Today, a colleague asked me if I have a reliable mysql stress testing tool. In fact, mysql comes with a stress testing tool called mysqlslap, which is a good simulation. The following is an example. Mysqlslap is a stress testing tool officially provided by MySQL since version 5.1.4. Simulate multiple concurrent clients to access MySQL for stress testing, and provide detailed data performance reports for "high-load attack MySQL. In addition, we can compare the concurrency stress of multiple storage engines in the same environment.
PS: Today, a colleague asked me if I have a reliable mysql stress testing tool. In fact, mysql comes with a stress testing tool called mysqlslap, which is a good simulation. The following is an example. Mysqlslap is a stress testing tool officially provided by MySQL since version 5.1.4. Simulate multiple concurrent clients to access MySQL for stress testing, and provide detailed data performance reports for "high-load attack MySQL. In addition, it can compare the performance difference of concurrent pressure of multiple storage engines in the same environment. Through mysqlslap? Help can get available options. Here are some of the main parameters. For more information, see the official manual. If mysql is installed in the system or by using the rpm package, the MySQL-client package is installed with the mysqlslap tool.
Is the number of mysql connection processes when running the mysqlslap-a-c 500-I 10-uroot-p123456 test: