SQL Server Execution Plans, 3rd Edition

What goes on beneath the surface with your queries


SQL Server Execution Plans, 3rd Edition
SQL Server Execution Plans, 3rd Edition
Open Access

Book Details

Author Grant Fritchey
Publisher Red Gate
Published 2018
Edition 1
Paperback 515 pages
Language English
ISBN-13 9781910035245, 9781910035221
ISBN-10 1910035246, 191003522X
License Open Access

Book Description

If a query is performing poorly, and you can't understand why, then that query's execution plan will tell you not only what data set is coming back, but also what SQL Server did, and in what order, to get that data. It will reveal how the data was retrieved, and from which tables and indexes, what types of joins were used, at what point filtering, sorting and aggregation occurred, and a whole lot more. These details will often highlight the likely source of any problem.

I wrote this book with the singular goal of teaching you how to read SQL Server Execution plans. It will explain, among many other things, the following:
- How to capture execution plans using manual and automatic methods
- A documented method for reading and interpreting execution plans
- How common SQL Server objects, such as indexes, views, stored procedures, and so on, appear in execution plans
- How to control execution plans with hints and plan guides, and why this is a double-edged sword
- How the Query Store works with, and collects data on, execution plans

With this knowledge, you'll have everything you need to read the execution plan, for any query of your own, regardless of complexity, and understand what it does and what is causing the bad performance. It is still your job to work out how best to fix it, but your new understanding of execution plans will give a much better chance of success!


This book is published as open-access, which means it is freely available to read, download, and share without restrictions.

If you enjoyed the book and would like to support the author, you can purchase a printed copy (hardcover or paperback) from official retailers.

Download and Read Links

PDF

Share this Book

[localhost]# find . -name "*Similar_Books*"


SQL Server Hardware

SQL

SQL Server Hardware will provide the fundamental knowledge and resources you need to make intelligent decisions about choice, and optimal installation and configuration, of SQL Server hardware, operating system and the SQL Server RDBMS. Relational databases place heavy demands on their underlying hardware and many of these databases are mission-cri

Defensive Database Programming with SQL Server

SQL MS SQL

Resilient T-SQL code is code that is designed to last, and to be safely reused by others. The goal of defensive database programming, the goal of this book, is to help you to produce resilient T-SQL code that robustly and gracefully handles cases of unintended use, and is resilient to common changes to the database environment. Too often as develop

Protecting SQL Server Data

SQL

In Protecting SQL Server Data, John Magnabosco demonstrates how sensitive data, stored in SQL Server, can be protected using an efficient and maintainable encryption-based data architecture. He explains how to assess and categorize data elements according to sensitivity, regulate access to the various categories of data using database roles, views

Managing Projects with GNU Make, 3rd Edition

Java C / C++

The utility simply known as make is one of the most enduring features of both Unix and other operating systems. First invented in the 1970s, make still turns up to this day as the central engine in most programming projects; it even builds the Linux kernel. In the third edition of the classic Managing Projects with GNU make, readers will learn why

Data Science with Microsoft SQL Server 2016

SQL R

R is one of the most popular, powerful data analytics languages and environments in use by data scientists. Actionable business data is often stored in Relational Database Management Systems (RDBMS), and one of the most widely used RDBMS is Microsoft SQL Server. Much more than a database server, it's a rich ecostructure with advanced analytic capab

Introducing Microsoft SQL Server 2016

SQL

Build your database management knowledge with the technical open book, Introducing SQL Server 2016. Get an overview of the SQL Server 2016 features - from in-memory performance and enhanced security to end-to-end mobile business intelligence and advanced analytics. - Learn about faster queries, improved security, higher availability, and state-of-t