Artificially slowing SQL Server for testing

Status
Not open for further replies.

russ-iha

Ars Praefectus
4,407
Subscriptor
Anyone have any ideas about how to simulate real-world scenarios in a dev environment? Specifically regarding SQL Server. To get a good picture of real-world performance behaviors (locking, blocking both in the DB and in code) I need to simulate a SQL Server that is running a bunch of other databases and transactions so I can get realistically slow performance.

This turns out to be a somewhat difficult problem; almost no tools or docs are written on the subject yet it seems obvious that it is something you should test to determine how you gracefully degrade under load (or don't).


Obviously I can fake it by sticking Sleep() calls in my program. Or I can put SQL Server on a VM and then write some process that will constantly write random bytes to a file, delete it, then write another to simulate disk contention (which should trigger some slowness) but none of this really reflects a real-world load.
 
Status
Not open for further replies.