1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace...

13
1 October 2011 SQL Bits 9 - Liverpool Tools for Working with Server-Side Traces

description

1 October 2011SQL Bits 9 - Liverpool

Transcript of 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace...

Page 1: 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace script Starting and stopping a trace Loading and viewing.

SQL Bits 9 - Liverpool 1 October 2011

Tools for Working

with Server-Side

Traces

Page 2: 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace script Starting and stopping a trace Loading and viewing.

SQL Bits 9 - Liverpool 1 October 2011

Today’s Agenda• Customizing a trace script• Starting and stopping a trace• Loading and viewing the trace

file• Aggregating the data for

analysis• Third party tools for analysing

trace data

Page 3: 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace script Starting and stopping a trace Loading and viewing.

SQL Bits 9 - Liverpool 1 October 2011

Page 4: 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace script Starting and stopping a trace Loading and viewing.

SQL Bits 9 - Liverpool 1 October 2011

So, what is a server side trace, and why do

we care?

Page 5: 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace script Starting and stopping a trace Loading and viewing.

SQL Bits 9 - Liverpool 1 October 2011

SQL Profiler UI

©Toho Co. Ltd.

Page 6: 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace script Starting and stopping a trace Loading and viewing.

SQL Bits 9 - Liverpool 1 October 2011

Server Side Trace

©Toho Co. Ltd.

Page 7: 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace script Starting and stopping a trace Loading and viewing.

SQL Bits 9 - Liverpool 1 October 2011

Who Emerges Victorious?

©Toho Co. Ltd.

Page 8: 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace script Starting and stopping a trace Loading and viewing.

SQL Bits 9 - Liverpool 1 October 2011

http://bit.ly/ProfilerPerformanceImpact

Linchi Shea: Performance Impact: Profiler Tracing vs. Server Side SQL Tracing

Page 9: 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace script Starting and stopping a trace Loading and viewing.

SQL Bits 9 - Liverpool

Demos

1 October 2011

Examine trace script Start Trace View running traces Stop Trace Set up auto traces Load trace data Examine trace data

Page 10: 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace script Starting and stopping a trace Loading and viewing.

SQL Bits 9 - Liverpool

Clear Trace http://bit.ly/DownloadClearTrace

1 October 2011

Page 11: 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace script Starting and stopping a trace Loading and viewing.

SQL Bits 9 - Liverpool 1 October 2011

RML Utilities http://bit.ly/RMLUtilites

Page 12: 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace script Starting and stopping a trace Loading and viewing.

SQL Bits 9 - Liverpool 1 October 2011

Further Reading

Chapter 10: Tracing SQL Server with SQL Trace and ProfilerChapter 12: Introducing RML Utilities for Stress Testing and Trace Analysis

Page 13: 1 October 2011SQL Bits 9 - Liverpool. 1 October 2011SQL Bits 9 - Liverpool Customizing a trace script Starting and stopping a trace Loading and viewing.

SQL Bits 9 - Liverpool 1 October 2011

Coming up…Speaker Title RoomOla Hallengren Inside Ola Hallengrens Maintenance Solution Aintree

Mark Pryce-Maher Building a SSMS Add-in; The Agony and Ecstasy Lancaster

Marco Russo Vertipaq vs OLAP: Change Your Data Modeling Approach Pearce

Gert Drapers Database Development with SQL Server Juneau Boardroom

Satya JayantySQL Server Upgrade: take help from tools and best practices Empire

Emil Glownia Advanced SSRS. Find out what you have been missing. Derby

#SQLBITS