SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Profiler distribution of grouped CPU seems odd


Profiler distribution of grouped CPU seems odd

Author
Message
klharless
klharless
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 51
Greetings,

I am trying to chase a high CPU load coming from SQLSERVER and wanted to isolate transactions by CPU but noticed the following grouped values BY CPU for a small trace duration;

CPU
----
NULL = 142
0 = 84883
15 = 198
16 = 273
31 = 1
32 = 1
46 = 1
47 = 3
234 = 3

Question, I know that CPU is in milliseconds but the distribution of values seems to small Often when I trace in my development environment I see total distinct values of 0,15 and 16. Is that saying that no specific statement is taking more than 16/1000 of a second to complete? What about 0 values, to fast to register?
Erland Sommarskog
Erland Sommarskog
SSCrazy
SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)

Group: General Forum Members
Points: 2119 Visits: 872
I guess this is related to the fact that the datetime data type has a resolution of 3.33 ms. I have noticed that when measuring duration with getdate(), that I never see values < 13 ms.

Erland Sommarskog, SQL Server MVP, www.sommarskog.se
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search