Mysql load testing

Hello,

What are the best free tools to perform a load testing for 1million concurrent connections on Mysql 5.1?

Thanks
CCVOIPAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Raymond van den BedumCommented:
Hi,

Take a look at: http://dev.mysql.com/doc/mysqltest/2.0/en/mysql-stress-test-pl.html
It is a quit easy perl script with a lot of configurable options
0
CCVOIPAuthor Commented:
I have a mysql community edition installed and I don't seem to find mysql-stress-test.pl anywhere!
how can I install/set it ?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CCVOIPAuthor Commented:
Hi, can you please help with an example on how to use "mysql-stress-test.pl". I  tried to follow the help but it seems that I am missing something. I got the following error:
 mysqltest: Could not open ' {--stress-basedir}/t/select' for reading, error : 2

here is the command that I am using:

./mysql-stress-test.pl --server-port 3306 --server-user username --server-password pwd --server-database=mydb  --threads=1000  --verbose --stress-basedir=/myhomdir/test  --stress-suite-basedir=/myhome/result --stress-datadir=/myhomedir/  --server-logs-dir=/myhomedir/ --cleanup  --stress-tests-file=/myhomedir/result/myfile-tests.txt

Open in new window


myfile-tests.txt => contains :
select * from mytab;

Open in new window


thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.