I've encountered a strange problem on one of my test SQL Servers.
It is a VM box on a SAN, with Windows Server 2008, SQL Server 2008 R2, 16GB RAM and 4 CPU cores allocated.
The hardware allocation is more than sufficient for the database that is running on it, and is similar to the current production server.
When I run a test query (which is essentially returning the entire results of a view), it takes 9-10 seconds to return the results.
However, when I run the same query on the production server, it takes 1-2 seconds.
I've monitored the hardware while the query was running and also enabled execution plan and client statistics.
I/O is less than the production box and the memory utilisation anc CPU utilisation is next to nothing.
The only difference I can see between the queries run on each, is that the CLIENT PROCESSING TIME is 3 times as long on the test box.
Interestingly, to make matters even more murky, I can run the query from my own PC (within Management Studio) and the query returns the results in 4-5 seconds (less than half the time it takes to run directly on the server, but still twice the time in production).
Can anyone recommend some good places to start looking, to uncover what the underlying problem could be?
Many thanks in advance for any suggestions...