Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

What should be the best approach to identify performance problems in Production environment Expand / Collapse
Author
Message
Posted Tuesday, August 20, 2013 1:34 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Tuesday, June 24, 2014 10:51 PM
Points: 99, Visits: 617
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)
Post #1486133
Posted Tuesday, August 20, 2013 3:59 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, August 11, 2014 6:37 AM
Points: 299, Visits: 561
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
Post #1486163
Posted Tuesday, August 20, 2013 4:21 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 3:43 PM
Points: 43,047, Visits: 36,206
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 2008, MVP
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

Post #1486171
Posted Tuesday, August 20, 2013 10:27 PM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Tuesday, June 24, 2014 10:51 PM
Points: 99, Visits: 617
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.




Post #1486504
Posted Wednesday, August 21, 2013 1:13 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 3:43 PM
Points: 43,047, Visits: 36,206
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 2008, MVP
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

Post #1486562
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse