Collect and Analyse Troubleshooting Data Flashcards
What is SQL Server Profiler?
It can be used to find problems with slow queries (find cause)
capturing series of t-sql statements leading up to a problem
Monitor performance of SQL to fine tune workloads
Correlating performance counters to diagnose problems.
How do you get to SQL Server Profiler?
Tools -> SQL Server Profiler
Right click in query and click [Trace Query in SQL Server Profiler]
What is going to replace Sql Server Profiler?
Extended Events (XEvents)
Where is Extended Events found?
SSMS -> Management -> Extended Events
What’s a benefit to using XEvents over SQL Server Profiler?
XEvents is more lightweight than Profiler (Less resources)
What is System Monitor?
It is able to monitor SQL Server as well as things outside of SQL. (Device usage, memory, threads, processes)
Why are disk performance counters disabled on System Monitor?
Because there is a noted significant performance impact in collecting disk metrics.
How do you enable disk performance for System Monitor?
in a command prompt type:
diskperf -Y
Within System Monitor, what is the standard expectation for % Idle Time?
Less than 60%
Within System Monitor, what is the standard expectation for average disk sec/Read (Write)?
less than 20 Milliseconds
Within System Monitor, what is the standard expectation for current disk Queue Length?
Not higher than 2
Within System Monitor, what is the standard expectation for Memory Available MBytes?
Minimum of 10% available.
Within System Monitor, what is the standard expectation for Memory Pages/Second?
No higher than 1000
Within System Monitor, what is the standard expectation for Network Bytes Total / Sec?
Preferably under 40%
Within System Monitor, what is the standard expectation for Paging File % Usage?
No higher than 10%