Hey Folks,
We recently upgraded one of our servers from SQL Server 2000 to SQL Server 2008 R2. We have a problem, when a certain query is run the CPU jumps to 100% and stays that way for 2-5 minutes. We have a intranet built from PHP that essentially executes a imbedded SQL query that inserts and updates data within the a particular database. The query seems to complete successfully... but it really hammers the servers CPU.
OS: Windows Server 2008 R2 x64 (VM Running on Hyper-V)
Memory: 12GB
CPU: 8 Cores
In short... does anyone have any suggestions on how to find out what is going awry? What steps would you take to figure it out?