I am load testing two sql server instances. I have a trace file from sql server 2000 database with a file size of little less than 1 GB. I am running this using the sqlcmd utility and it is been running for more than 5 hours now. The original trace file's duration was around 5 hours. Is this something expected with sqlcmd utility?
migrated from stackoverflow.com Oct 2 '11 at 13:57
This question came from our site for professional and enthusiast programmers.
I assume the original trace contains the actions of multiple clients, with many queries executing in parallel? Your playback via SQLCMD is occuring serially, which is why it will take much longer to complete the same workload.
This way you'll get the parallel playback you need to draw any meaningful comparison between the workloads on different instances.