September 23, 2014 at 9:08 pm
Guys
How it possible to find the top 10 CPU utilization by the login/user in SQL 2008 r2 and above ?
Thanks
September 24, 2014 at 5:33 am
Hi Low Rider,
See if this helps (http://msdn.microsoft.com/en-us/library/ms176013(v=sql.105).aspx):
SELECT TOP 10 login_name, SUM(cpu_time)
FROM sys.dm_exec_sessions
WHERE session_id > 50
GROUP BY login_name
ORDER BY SUM(cpu_time) DESC
Basically will give you the logins with most CPU time usage, but only for the current sessions.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy