Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 SQL Profiler Duration and CPU Baseline

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2007-01-09 : 07:51:08
Sarfaraz writes "I have captured SQL Profiler data. I was reviewing top running CPU intensive SQL statements. The Duration (in seconds) 1.39, 1.09, 0.16 and CPU (in seconds) 0.97, 0.95, 0.16 respectively for some SQL statements. How do I know what is the normal baseline for duration and CPU in order to determine the CPU intensive SQL statements.

Secondly same question for long running procedure duration 0.14, 0.11. What is the normal baseline here. Is this normal or too long.

Thanks,
Sarfaraz"

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-01-09 : 08:12:59
Why you need this? I think it hardly matters how much is the CPU utilization because most of the queries can be made faster by tuning their I/O hits (Most of the time of query execution is spent in waiting for IO, and not in CPU processing).

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-01-09 : 13:18:54
Those are very small numbers, so you should not worry about them. To get a baseline of your system, you would need to collect the data over several days making sure to capture peak times. Then do some aggregations against the data. IOW, there is no way for us to tell you what your baseline is. Everyone's baseline is different.

And I disagree with Harsh in that yes it does matter. I look at CPU, IO, memory, ... when doing performance analysis. You shouldn't only concentrate on IO, although IO is a huge part.

Tara Kizer
Go to Top of Page

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-01-10 : 00:59:34
"And I disagree with Harsh in that yes it does matter. I look at CPU, IO, memory, ... when doing performance analysis. You shouldn't only concentrate on IO, although IO is a huge part."

But Tara, does CPU processing makes much difference in the execution time in general (except the case for heavy calculations)?

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-01-10 : 01:04:20
When performing performance analysis, you consider all factors, one of which is CPU.

And yes it can make a difference.

Tara Kizer
Go to Top of Page

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-01-10 : 01:09:52
Okay. I will take that into account next time. Thanks.

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page
   

- Advertisement -