90 likes | 256 Views
SQL Server Performance and Analysis Tools. Rob Carrol, SQL Server Premier Field Engineer, Microsoft. SQLdiag Utility. Collects the following information: Windows performance logs Windows event logs SQL Server Profiler traces SQL Server blocking information
E N D
SQL Server Performance and Analysis Tools Rob Carrol, SQL Server Premier Field Engineer, Microsoft
SQLdiag Utility • Collects the following information: • Windows performance logs • Windows event logs • SQL Server Profiler traces • SQL Server blocking information • SQL Server configuration information • Is located at <drive>:\Program Files\Microsoft SQL Server\90\Tools\binn • Uses the SQLDiag.XML configuration file • Sends the output to C:\Program Files\Microsoft SQL Server\90\Tools\binn\SQLDIAG • Has several parameters
SQL Diag Configuration Files Example syntax: sqldiag /I sd_general.xml /E +00:10:00
SQL Nexus • SQL Nexus is a tool that helps you identify the root cause of SQL Server performance issues. • It loads and analyzes performance, dramatically reducing the amount of time you spend manually analyzing data • Fast, easy data loading from Trace files • Visual representation of trace data via reports • Trace aggregation and summary • Wait stats analysis • Full-features reporting engine • Extensibility • Free to download from Codeplex: • http://www.codeplex.com/sqlnexus
Performance Analysis of Logs (PAL) • VB-based tool to provide automated analysis of Performance counter logs • Includes threshold files to analyse systems based on their role (SQL, IIS, MOSS, etc) • PAL compares counters against threshold values and raises alerts if counters exceed these values • Provides an HTML based report once analysis has completed • Download free from Codeplex • http://www.codeplex.com/PAL
Further Resources • SQLDiag • http://msdn.microsoft.com/en-us/library/ms162833.aspx • SQL Nexus • http://www.codeplex.com/sqlnexus • Performance Analysis of Logs (PAL) • http://www.codeplex.com/PAL