Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been tasked to stress test our MSSQL Server and MySQL Server. I would like to know if there are any tools or scripts which I could use on our current systems and the new system to compare performance?

I would like to measure read / write to disk and processor performance. Anything else that may be useful would be great as well.


share|improve this question
For SQL Server, I'm frequently mentioning the RML tools which are discussed in…. – Mark Storey-Smith Oct 20 '11 at 17:32
Thanks for the post. Great set of tools for MSSQL. I'll have to give it a shot and see what I can come up with. This actually helps in our environment as I can re-create user activity with our database. That said, I also found SQLIOSim from Microsoft. It doesn't quite test the DB but it does test the IO of the system which the DB lives on. – stanleykylee Oct 20 '11 at 18:23
Careful with SQLIOSIM, it's intended to test IO stability rather than capability…. SQLIO is the tool you want instead. – Mark Storey-Smith Oct 20 '11 at 18:34
Please also look at our DTM DB Stress tool ( It was designed for exact requested purpose. – Igor Shekalev Jan 13 '13 at 7:02
JMeter comes to mind, should work for both (you could even run the same/identical if you design them properly) – a_horse_with_no_name Jan 13 '13 at 12:30

Quest offers a free version of their Benchmark Factory that works for Oracle, SQL Server, and MySQL:

I recorded a video on getting started with it back when I worked for Quest:

You can call your own stored procs, replay traces, run TPC benchmark scripts, and more. It's not exactly easy to use, though - thus the video.

share|improve this answer

For MySQL, there's the official benchmark suite. Alternatively a tool like sysbench. I'm currently in the process of testing out sysbench, but I've been having some trouble!

share|improve this answer
updated my SF question cause I fixed the dumb error. – Derek Downey Oct 20 '11 at 20:30

The defacto standard for comparing one database solution to another is the TPC-C benchmark. The latest definition of this benchmark can be downloaded from along with existing benchmark result sets.

While it is unlikely you will run the full TPC-C at your location, the test definition should provide the foundation for developing a set of internal benchmarks designed to identify performance differences on a reference set of hardware with respect to your organization's specific requirements for transactional throughput.

Make sure you download the cost of ownership documentation as well, for this can provide a standardized method for evaluating the two solutions.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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