Hello,
I have SQL Server 2012 instance installed on 2 different machines, one is my local machine (Development) and other on a Staging environment. The server version's and editions are all same.
When I execute a stored procedure, the Staging server takes 3 times (takes 3 seconds) as much as my local machine (takes 1 sec). The databases are same, as I backed up the DB from Stage to my local machine. The execution plans are same, the reads and writes are same. Running profiler, the only thing I am seeing different is the CPU time. The CPU time is also 3 times on stage vs on development.
My local machine has a Intel i7 processor 3.4GHz, where as the stage server has Intel i5 2.7GHz. Also the stage server is a Virtual server having Windows Server 2012. My local machine is Windows 7. Could processor make such a difference? (3 times execution time).
Indexes are same, I rebuilt them on both machines. I tried DBCC freeproccache on both before running them. The recordsets are same. Could processor could really make such a difference on Sproc execution time?
Greatly appreciate any/all comments/thoughts.