sudo yum install mysql
If you just want to quickly benchmark some database with a simple query, you could try something like:
mysqlslap --user=[YourUsername]--password=[YourPassword] --host=[YourHostname] --verbose --concurrency 10 --iterations 10 --query 'SELECT * from [YourDatabaseName] .lookup_en' --create-schema=[YourDatabaseName]
If you want to know more options, please refer to the Reference.
Reference:
http://dev.mysql.com/doc/refman/5.7/en/mysqlslap.html
No comments:
Post a Comment