Stress Testing

There are a number of powerful third-party tools available for stress testing SQL Server. Many of these are quite expensive. What I'm about to show isn't as advanced as these types of tools, nor does it have the extensive feature set that many of them have. But it does have one advantage over them: It's free. STRESS.CMD, my SQL Server stressing tool, is a poor man's robo-test—you give it a T-SQL script to run and it runs the script a specified number of times against a SQL Server. STRESS.CMD has five main features:

  1. It can run a specified T-SQL script repetitively against a SQL Server.

  2. It can run one script multiple times or run many scripts once, or some combination of the two.

  3. It can route output to the console or it can log each ...

Get Guru's Guide to SQL Server™ Stored Procedures, XML, and HTML, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.