Click here to monitor SSC
Av rating:
Total votes: 5
Total comments: 1


Mastering SQL Server Profiler
30 January 2009


"By mastering Profiler, the exceptional DBA can track down and fix SQL Server performance and other problems quickly and efficiently, and even spot potential problems before they cause real difficulties."

Brad McGehee, author and experienced DBA.

Download the eBook (To download the eBook you need to be a member of Simple Talk, the download link will take you to the registration page.)

Buy the printed book


 

Table of Contents

  • Chapter 01: Getting Started with Profiler
  • Chapter 02: Working with Traces and Templates
  • Chapter 03: Profiler GUI Tips and Tricks
  • Chapter 04: How to Identify Slow Running Queries
  • Chapter 05: How to Identify and Troubleshoot SQL Server Problems
  • Chapter 06: Using Profiler to Audit Database Activity
  • Chapter 07: Using Profiler with the Database Engine Tuning Advisor
  • Chapter 08: Correlating Profiler with Performance Monitor
  • Chapter 09: How to Capture Profiler Traces Programmatically
  • Chapter 10: Profiler Best Practices
  • Chapter 11: Profiler Events and Data Columns Explained

Why read this book?

SQL Server Profiler records data about various SQL Server events. This data is stored in a trace file and can be used to troubleshoot a wide range of SQL Server issues, such as poorly-performing queries, locking and blocking, excessive table/index scanning, and a lot more.

For such a potentially powerful tool, Profiler is surprisingly underused. This must be due, at least in part, to the fact that it is occasionally a frustrating tool. The user interface is poor, it lacks many important features, it is poorly documented and, unless you have a lot of experience as a DBA, it is often hard to analyze the data you capture. As such, many DBAs tend to ignore it and this is distressing, because Profiler has so much potential to make a DBA's life more productive.

This book will make it easier for you to learn how to use Profiler, analyze the data it provides, and to take full advantage of its potential for troubleshooting SQL Server problems.

Book Details

  • Paperback: 300 pages
  • Publisher: Red Gate Books


This article has been viewed 4669 times.
Brad McGehee

Author profile: Brad McGehee

Brad M. McGehee is a MCITP, MCSE+I, MCSD, and MCT (former), and currently the Director of DBA Education for Red Gate Software. Brad is also an accomplished Microsoft SQL Server MVP, with over 16 years SQL Server experience and over 7 years training experience. Brad is a frequent speaker at User Groups and industry events (including SQL PASS, SQL Server Connections, devLINK, SQLBits, SQL Saturdays, TechFests and Code Camps), where he shares his 16 years of cumulative knowledge and experience. A well-respected name in SQL Server literature, Brad is the author or co-author of more than 15 technical books (freely available on SQLServerCentral) and over 275 published articles.

Search for other articles by Brad McGehee

Rate this article:   Avg rating: from a total of 5 votes.


Poor

OK

Good

Great

Must read
 
Have Your Say
Do you have an opinion on this article? Then add your comment below:
You must be logged in to post to this forum

Click here to log in.


Subject: Sample Code for Mastering SQL Server Profiler‏
Posted by: Toqeer (view profile)
Posted on: Wednesday, July 20, 2011 at 11:41 PM
Message: Assalam-O-Alaikum (May peace be upon you)

First of all i must say thanks for writing such a nice book. Few days back Profiler was a mystery to me. Now, i am reading it and getting grip on it day by day. Untill chapter 3 there is no need of sample code/SQL statements used in the book. From chapter 4 "How to Identify Slow Running Queries" and onwards i think, will be good if you can provide me with sample code of examples used in the book. I am doing practical on my own machine for getting as much understanding as possible.

Waiting for your reply,
Thanks and God Bless You.

 



recommended site pinvoke

PInvoke.net is a user-driven wiki which provides .NET developers with native method signatures, so they don't have to spend time writing them from scratch.




Exchange 2010 SP1 - A Practical Approach
 This update of Jaap Wessellius' popular guide to Exchange 2010 covers everything you need to know to... Read more...

Captain Biplane: Interplanetary Airman
 Simple-Talk caters for the lighter side with its publication of 'Captain Biplane: Interplanetary... Read more...

Don't Just Roll the Dice - eBook Download
 Neil Davidson has created a short handbook with the theory, practical advice and case studies, to... Read more...

Defensive Database Programming
 Inside this book, you will find dozens of practical, defensive programming techniques that will improve... Read more...

Mastering SQL Server Profiler
 Brad McGehee's "from the ground up" guide to SQL Server's most powerful performance diagnostic tool... Read more...

Exchange 2010 - A Practical Approach
 Jaap's Practical Guide to Exchange Server 2010 draws upon all that experience to deliver an easy-to-use... Read more...

Brad's Sure Guide to SQL Server Maintenance Plans
 Brad's Sure Guide to Maintenance Plans shows you how to use the Maintenance Plan Wizard and Designer to... Read more...

Inside the SQL Server Query Optimizer
 This book will take you from the fundamentals of Statistics, Cost Estimation, Index Selection, and the... Read more...

SQL Server Hardware
 SQL Server Hardware will provide the fundamental knowledge and resources you need to make intelligent... Read more...

Performance Tuning with SQL Server Dynamic Management Views
 This is the book that will de-mystify the process of using Dynamic Management Views to collect the... Read more...

Over 400,000 Microsoft professionals subscribe to the Simple-Talk technical journal. Join today, it's fast, simple, free and secure.

Join Simple Talk