-1

I want to conduct stress test on our MySQL DB. I have the list of queries i need to execute. I have tried using Apache JMeter for this but it is very time consuming. Is it possible to run mysqlslap with custom .sql file containing INSERT, UPDATE, SELECT queries on specified MySQL database?

3

1 Answer 1

1

The mysqlslap --query option will absolutely take a file containing lines with INSERT, UPDATE, DELETE, and REPLACE INTO statements, as well as SELECT.

In fact, one of the examples later in the documentation shows it taking an INSERT:

http://dev.mysql.com/doc/refman/5.1/en/mysqlslap.html#option_mysqlslap_number-of-queries

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.