Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Profiler - Threshold values


SQL Profiler - Threshold values

Author
Message
sqldkay
sqldkay
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 23
Hi,

I hope you pro's could help me out with some performance issues I'm having..
Oke, so we have some performance issues, I looked into some blogs of Brent Ozar regarding the use of Performance Monitor to do some monitoring, helped me out a lot. Next what I wanted to do was use SQL Profiler to see what was going on. I know how to use profiler and understand all the terminology, but.... what are the threshold values for the data columns like CPU, reads, writes etc. I know that the duration depends on what the business considers slow. But have no idea at what I am looking for when checking the rest of the data values....What is considered bad and good?
I've searched every where, but can't find the answer for my question... If someone could help me or give me some pointers I would be really thankfull.

Cheers SQL D.
SQLSACT
SQLSACT
UDP Broadcaster
UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)

Group: General Forum Members
Points: 1456 Visits: 2931
I don't think there is a good or bad. It depends on your queries.

This is why creating benchmarks is so important. Then you have something to compare your profiler results to.
sqldkay
sqldkay
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 23
Thanks for the fast reply. So what you're saying basically is monitoring and tracing when performance is ok, then comparing with the trace when it's not performing as it should?
SQLSACT
SQLSACT
UDP Broadcaster
UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)

Group: General Forum Members
Points: 1456 Visits: 2931
Yes - More or less.

Have a look here, might help you

https://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47171 Visits: 44346
There's no magic threshold where below that it's fine and above that it's bad. There's only normal for your system and abnormal for your system.


Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


sqldkay
sqldkay
Forum Newbie
Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: General Forum Members
Points: 3 Visits: 23
Oke, i'm reading the article part 1 and 2, after I'm done I'll continue my Q : )

But then my next Q; What is considered normal and abnormal?
What do you look for when using profiler? Which data columns e.g. shows you ... oke wait something is bad there..?

I know that duration is for queries that are for e.g. running slow or finding deadlocks and locks etc, i know all about that... but the rest....pfff... I think I'm starting to loose it ...Sad
SQLSACT
SQLSACT
UDP Broadcaster
UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)UDP Broadcaster (1.5K reputation)

Group: General Forum Members
Points: 1456 Visits: 2931
If you have a query that takes 10 hours to execute, that doesn't necessarily mean that it's slow - It could be normal for your system.
There is no set in stone threshold for what's good and what's bad - It depends on your system, you need to know what is abnormal/normal for your system.

Read those articles, it will show you which columns to look out for.
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47171 Visits: 44346
sqldkay (6/14/2013)
But then my next Q; What is considered normal and abnormal?


Normal = normal for your system
Abnormal = not normal for your system.

If a query runs normally 2 minutes and is running 25 minutes today, that's abnormal.
If a query runs normally 2 minutes and is running 5 seconds today, that's also abnormal.

Right at this moment, I'm tuning a query that's running on average 50ms. I'm tuning it because it runs around 250000 times an hour and is normally under 10ms.

What do you look for when using profiler? Which data columns e.g. shows you ... oke wait something is bad there..?


By themselves, none of them.


Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


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