Mysqlslap Stress Test Use summary

Source: Internet
Author: User

Today from the OPS colleague that heard the MySQL stress test tool mysqlslap. After understanding the fact that MySQL comes with a pressure test tool called Mysqlslap, or a good simulation. Let me give you an example. Mysqlslap is an official MySQL-provided stress testing tool starting with version 5.1.4. Perform stress testing by simulating multiple concurrent client access to MySQL, while providing detailed data performance reports on "High-load attack MySQL". And it is very good to compare the concurrency pressure performance difference of multiple storage engines in the same environment. The available options can be obtained through MYSQLSLAP–HELP, where the main parameters are listed, and the official manuals are described in more detail. If the system comes with or uses the RPM package installs the MySQL, installs the mysql-client side the package to have mysqlslap this tool.
Advantages: Query data, simple syntax, flexible and easy to use. The tool can simulate multiple clients concurrently issuing query updates to the server, giving performance test data and providing performance comparisons for multiple engines. MSQLSLAP provides an intuitive verification basis before and after MySQL performance optimization, It is suggested that the system operation and DBA personnel should master some common stress testing tools in order to accurately grasp the limit of user traffic and the pressure resistance of the online database support. ( when testing, you can specify the number of concurrent connections and you can specify SQL statements.) If no SQL statement is specified, Mysqlslap automatically generates a SELECT statement for the query schema. )
To be continued ....... .....

Mysqlslap Stress Test Use summary

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.