SQL Server Execution Plans Second Edition eBook Download

SQL Server Execution Plans, Second Edition by Grant Fritchey

Grant Fritchey, 2012-11-12

Every day, out in the various online forums devoted to SQL Server, and on Twitter, the same types of questions come up repeatedly: Why is this query running slowly? Why is SQL Server ignoring my index? Why does this query run quickly sometimes and slowly at others? My response is the same in each case: have you looked at the execution plan?

An execution plan describes what’s going on behind the scenes when SQL Server executes a query. It shows how the query optimizer joined the data from the various tables defined in the query, which indexes it used, if any, how it performed any aggregations or sorting, and much more. It also estimates the cost of all of these operations, in terms of the relative load placed on the system.

Every Database Administrator, developer, report writer, and anyone else who writes T-SQL to access SQL Server data, must understand how to read and interpret execution plans. My book leads you right from the basics of capturing plans, through how to interpret them in their various forms, graphical or XML, and then how to use the information you find there to diagnose the most common causes of poor query performance, and so optimize your SQL queries, and improve your indexing strategy.

Table of Contents

  • Chapter 1: Execution Plan Basics
  • Chapter 2: Graphical Execution Plans for Basic Queries
  • Chapter 3: Text and XML Execution Plans for Basic Queries
  • Chapter 4: Understanding More Complex Query Plans
  • Chapter 5: Controlling Execution Plans with Hints
  • Chapter 6: Cursor Operations
  • Chapter 7: Special Datatypes and Execution Plans
  • Chapter 8: Advanced Topics

About the Author

Grant Fritchey is a SQL Server MVP with over 20 years’ experience in IT including time spent in support, development, and database administration.

Grant has worked with SQL Server since version 6.0, back in 1995. He has developed in VB, VB.Net, C#, and Java. Grant joined Red Gate as a Product Evangelist in January 2011.

He writes articles for publication at SQL Server Central, Simple-Talk, and other community sites, and has published two books: the one you’re reading now and SQL Server 2012 Query Performance Tuning Distilled, 3rd Edition (Apress, 2012).

In the past, people have called him intimidating and scary. To which his usual reply is “Good.”

You can contact him through grant -at- scarydba dot kom (de-obfuscate as necessary).

Publisher: Red Gate Books

Rate

Share

Share

Rate

Related content

SQL Server Execution Plans, Second Edition by Grant Fritchey

Every Database Administrator, developer, report writer, and anyone else who writes T-SQL to access SQL Server data, must understand how to read and interpret execution plans. This book leads you right from the basics of capturing plans, through how to interrupt them in their various forms, graphical or XML, and then how to use the information you find there to diagnose the most common causes of poor query performance, and so optimize your SQL queries, and improve your indexing strategy.

3.55 (20)

Grant Fritchey

2017-02-02

16,248 reads

SQL Server Execution Plans

Every day, out in the SQL Server forums, the same questions come up again and again: why is this query running slow? Why isn’t my index getting used? In order to arrive at the answer you have to ask the same return question in each case: have you looked at the execution plan? Grant Fritchey provides the only dedicated and detailed book on this essential topic.

Grant Fritchey

2013-03-15

45,348 reads

Free ebook: SQL Server Execution Plans

This free book is brought to you by Red Gate Software and Simple Talk Publishing. Why my query is running slow? Why isn’t my index getting used? In order to answer these questions, you have to ask the same return question in each case: have you looked at the execution plan? Grant Fritchey provides the only dedicated and detailed guide to this essential topic.

5 (1)

Press Release

2011-07-11

6,178 reads

Confessions of an IT Manager eBook 2nd Edition Donload

Confessions of an IT Manager, 2nd Edition

The software industry is, just occasionally, more absurd than one would dare to imagine. Having spent most of his working life in its clutches, Phil Factor has pretty much "seen it all" and what’s more he’s prepared to tell what he knows. The second edition of Phil’s "Confessions of an IT Manager" contains Phil’s full repertoire of tales of institutional mayhem and software projects gone awry.

Phil Factor

2009-05-07

2,411 reads