In this post, I provide one SQL Script to find CPU Pressure using SignalwaitTime.
Any executing query for any reason has to wait for the resource and this different wait type is recorded by SQL Server.
We can analyze this wait stats and take decision accordingly.
In this script, I am showing one Signalwait stats to measure the pressure of the CPU.
Higher Signalwait stats are not good for the system performance.
SUM(signal_wait_time_ms) AS TotalSignalWaitTime
,(SUM(CAST(signal_wait_time_ms AS NUMERIC(20, 2)))
/SUM(CAST(wait_time_ms AS NUMERIC(20, 2))) * 100)
Please share your ideas and opinions about this topic with me, your contribution will add true value to this topic.
If anyone has doubts on this topic then please do let me know by leaving comments or send me an email.
If you like this post, then please share it with others.
Please follow dbrnd.com, I will share my experience towards the success of Database Research and Development Activity.
I put up a post every day, please keep reading and learning.
Discover Yourself, Happy Blogging !
Anvesh M. Patel.