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? Just watch it on YouTube!
- Option 1: Recorded at home (manually created captions)
- Option 2: Live recorded for the Virtual PASS Summit 2020 (auto-generated captions)
- Option 3: Live recorded for the DataPlatformGeeks & SQLServerGeeks 2021 (auto-generated captions)
- Option 4: Live recorded for GroupBy 2020 (auto-generated captions)
- Option 5: Live recorded for Data Geeks Virtual Saturday South Florida (auto-generated captions)
- Option 6: Live recorded for DBA Fundamentals (auto-generated captions)
- Option 7: Live recorded for SQLBits 2020 (auto-generated caption)