Navigating a query plan
So far, we have mentioned query execution plans, and have even shown some simple examples to illustrate some points in Chapter 3, Mechanics of the Query Optimizer. However, it is important for any database professional to understand how to read and analyze a query execution plan as a way to visually identify positive changes in a plan shape. The remaining chapters in this book will show query execution plans in more detail for different scenarios of T-SQL patterns and anti-patterns.
Query plans are like trees, where each join branch can represent an entirely separate query.
To understand how to navigate a showplan or query plan, let's use a practical example of a query executed in the AdventureWorks sample database: ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access