Professional Documents
Culture Documents
SQL Server: Collecting and Analyzing Trace Data Module 1: Introduction
SQL Server: Collecting and Analyzing Trace Data Module 1: Introduction
SQL Server: Collecting and Analyzing Trace Data Module 1: Introduction
Trace Data
Module 1: Introduction
Jonathan M. Kehayias
Jonathan@SQLskills.com
Introduction
This course applies to all versions from SQL Server 2005 onwards
Understanding how an application is actually using SQL Server is
critical when tuning query performance
Sometimes query execution plans are not cached, which makes
workload analysis impossible without tracing
Reasons for a query execution plan not being cached include:
Auto-parameterization
The use of RECOMPILE query hints
The execution plan has zero cost to compile
Troubleshooting performance
Auditing activity
Collecting sample data for testing and performance analysis
Debugging Transact-SQL statements and stored procedures
Workload Analysis
Collecting workload information is only half the battle; analysis to find
key events and trends is the other half
Common questions that need to be answered include:
Third-party tools and free tools from Microsoft can help make
answering these questions very simple
Course Structure