I have sql server 2005 setup for my performance bench marking exercise and I have put same database on another server which has sql server 2008 and exact replica in terms of hardware configuration. Sql server memory allocation is also same in both servers. But my benchmarking results are worse on 2008 than 2005. Will somebody help me to find the reasons for performance degradation in sql server 2008. What are the thing I need to take care, or parameters to set for getting the better or same result sets.
migrated from stackoverflow.com Dec 29 '11 at 13:17
Did you rebuild indexes and statistics after setting up the database on SQL Server 2008?
It's mentioned on MSDN (see "Next steps")