hi All, I wonder that when sql server cpu reaches 100% which steps are taken indor to identify problem? for example you should firstly profil sql server? and any idea? thanks in advance
Yes with profile you can find queries using high CPU. Now, what OS, SQL and SP do you have? Also memory configuration.
is there anything for checking except for Profiller. For example master.dbo.sysprocesses table should be checked. SQL server 2008 enterprise ed sp 1 on windows server 2008
Why not use Activity Monitor to see what are the expensive queries and processes running at that point of time? Also you can make best use of Management Data warehouse feature in SQL SErver 2008 as you are using correct version to support.
It might be due to costly queries, you can also use the query select spid, hostname, program_name, loginame, cpu, last_batch, db_name(dbid), cmd from master.dbo.sysprocesses and do a dbcc inputbuffer(spid) to find out the query which is taking the most amount of time
Hi, If you are on SQL Server 2005 check this http://support.microsoft.com/kb/931821. Else, pelase refer the thread discussing the same stuff http://sql-server-performance.com/Community/forums/p/5862/20200.aspx, and some others http://social.msdn.microsoft.com/Forums/en/tfsgeneral/thread/efc36f39-f034-4ed0-b62c-b3a1f656e4fd, http://gsmblog.com/post/Golden-performance-tuning-tip-for-SQL-Server-high-CPU-usage.aspx