There's a particular stored procedure I call from my ASP.NET 4.0 Web Forms app that generates the data for a report. Using SQL Server Management Studio, I did some benchmarking today and found some interesting results:
FYI SQL Server Express 2014 and the same DB reside on both computers involved with the test:
- My laptop is a 3 year old i7 computer with 8GB of RAM. It's fine but one would no longer consider it a "speed demon" compared to what's available today. The query consistently took 30 - 33 seconds.
- My client's server has an Intel Xeon 5670 Processor and 12GB of RAM. That seems like pretty good specs. However, the query consistently took between 120 - 135 seconds to complete ... about 4 times what my laptop did!
I was very surprised by how slow the server was. Considering that it's also set to host IIS to run my web app, this is a major concern for me.
If you were in my shoes, what would be the top 3 - 5 things you'd recommend looking at on the server and/or SQL Server to try to boost its performance?
Robert