So I have been working on a tool here at work that will run a
query a specified number of times using a specified number of
threads running concurrently. It is actually similar to the new
'mysqlslap' utility available in MySQL 5.1, but is designed to
operate on a user-defined query and database. It is what I have
been using in my previous posts, and though some might find it
useful. You can find it here, which is
my software page. It is pretty easy to use. Just edit config.php
and fill in the values as appropriate. You can also specify some
command-line arguments (the first being number of threads to use,
the second is the total number of iterations, and the third is
the query you want to run) if you prefer. Here is an
example:
tim@filedawg ~/benchmarks/SQLBuster $ php bustit.php 4 10000 SQLBuster v0.81 Written By: Tim "Sweetums" Soderstrom --------------------------------------- Running With 4 Threads, 2500 …[Read more]