Execution plans … Where do I start?

This page contains the description for my conference session “Execution plans … Where do I start?”, links to the slide deck and demo code used in this presentation, and links to recordings of past deliveries.

Description

Target audience Database developers and DBAs who understand that execution plans can be a good tool to improve query performance, but have no experience yet with this tool.

No prior knowledge of execution plans is required, but attendees are expected to understand indexes, and to be able to read and write basic and slightly advanced T-SQL queries.

Short description An entry level explanation of why execution plans matter, where to find them, and how to get started to read and understand them.
Duration The ideal length for this session is 60 – 75 minutes.
Full abstract SQL (the language) is not a third generation language, where the developer tells the computer every step it needs to take. It is a declarative language that specifies the required results. SQL Server itself will figure out what steps it takes to get to those results. Most of the time, that works very well.

But sometimes it doesn’t. Sometimes a query takes too much time. You need to find out why, so you can fix it. That’s where the execution plan comes in. In the execution plan, SQL Server exposes exactly which steps it took for your query, so you can see why it’s slow.

However, execution plans can be daunting to the uninitiated. Especially for complex queries. Where do you even start?

In this session you will learn how to obtain execution plans. and how to start reading and understanding them.

Resources

Click here to download a ZIP file containing the slide deck and demo code used in this presentation.

(Note: my presentations tend to evolve over time, so the version you find here may not be an exact match for the version you witnessed).

Recordings

Not able to attend a conference and still interested in this session? Click here to watch it on YouTube!

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close