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


What should be the best approach to identify performance problems in Production environment


What should be the best approach to identify performance problems in Production environment

Author
Message
vinod.saraswat
vinod.saraswat
Mr or Mrs. 500
Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)

Group: General Forum Members
Points: 589 Visits: 712
Hello Experts,

I need all your opinion to work on identifying performance issues by finding best tools & when to use it in Production environment.

1)performance monitor windows utility (When to use)
2)DMV's (When to use)
3)SQL Profiler (When to use)
RTaylor2208
RTaylor2208
SSCrazy
SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)SSCrazy (2.7K reputation)

Group: General Forum Members
Points: 2695 Visits: 1263
Everyones approach is different but personally I find performance monitor is only realy helpful if you have a baseline of values for counters for when the system is performing as expected.

You can do this by capturing all the counters you feel is relevant, such as CPU utilisation, batch requests per second etc using a counter log, and then summaries the data identifying your Avg \ Max readings, this gives you something to compare to.

DMV's can be used to cover many aspects but in terms of performance analysis you can look for example at the top 10 queries by reads \ writes etc one example here:

http://blog.sqlauthority.com/2010/05/14/sql-server-find-most-expensive-queries-using-dmv/

As for profiler never use this is a production environment, if you are needing to capture traces either use the server side trace stored procedures

http://technet.microsoft.com/en-us/library/cc293613.aspx

or extended events (much better in SQL 2012)

http://www.sqlskills.com/blogs/jonathan/converting-sql-trace-to-extended-events-in-sql-server-2012/

You should also check out the procedure sp_whoisactive by Adam Mechanic as this is very helpfull for capturing stats about currently executing queries:

http://sqlblog.com/blogs/adam_machanic/archive/tags/sp_5F00_whoisactive/default.aspx

MCITP SQL 2005, MCSA SQL 2012
GilaMonster
GilaMonster
SSC Guru
SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)

Group: General Forum Members
Points: 228273 Visits: 46339
https://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/
https://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-2/

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


vinod.saraswat
vinod.saraswat
Mr or Mrs. 500
Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)Mr or Mrs. 500 (589 reputation)

Group: General Forum Members
Points: 589 Visits: 712
Thanks to RTalor & Gail Shaw for your valuable response.


@RTalor : Can you please share the list of counters and their threshold values to have baseline for the system.
How do you analyze this data i.e.on weekly basis or monthly basis. I am curious to know about creating a baseline for the system.

Gail your links are really very helpful to have step by step analysis and action.

Thanks again in advance.
GilaMonster
GilaMonster
SSC Guru
SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)SSC Guru (228K reputation)

Group: General Forum Members
Points: 228273 Visits: 46339
vinod.saraswat (8/20/2013)
@RTalor : Can you please share the list of counters and their threshold values to have baseline for the system.
How do you analyze this data i.e.on weekly basis or monthly basis. I am curious to know about creating a baseline for the system.


Google - erin stellato baseline

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