Category: Load Testing

Simulating Workload With ostress And Agent Jobs

This question comes up a lot
Especially during Office Hours, and the answer is usually... not great. You can spend a lot of money on people and complicated software to design, run, and monitor workloads against test environments, or you can throw together tests with some free tools like SQL Query Stress or Microsoft's RML Utilities.

Read more about Simulating Workload With ostress And Agent Jobs 3 comments — Join the discussion

Using Stack Overflow Queries to Generate Workloads

One of my favorite questions is, "How can I generate workloads to run against SQL Server for testing?"

Step 1: get the StackOverflow.com database. This database has a relatively simple schema, just a few tables, real-world data distributions, and enough rows that you can generate seriously slow queries. You can use any size, small medium or large, and they'll all work.

Read more about Using Stack Overflow Queries to Generate Workloads 6 comments — Join the discussion

Generating test data without complicated T-SQL

Sometimes you need garbage
Not because DBAs are the IT equivalent of Oscar the Grouch, but maybe you want to post a question on a forum, and you don't want to use your own data. At least, you probably shouldn't just post your own data without masking it. But masking data is annoying, and by the time you get everything in order, someone's breathing down your neck for an answer.

Read more about Generating test data without complicated T-SQL 7 comments — Join the discussion