November 2013
Intermediate to advanced
982 pages
34h 23m
English
The Query Optimizer contains many optimization phases that each perform different functions. The different phases help the Query Optimizer perform the highest-value operations earliest in the optimization process.
The major phases in the optimization of a query, as shown in Figure 11-14, are as follows:
Simplification
Trivial plan
Auto-stats create/update
Exploration/implementation (phases)
Convert to executable plan

Figure 11-14. Query Optimizer pipeline.
The SQL Server query processor performs several steps before the actual optimization process begins. These transformations help shape the tree into a form that’s ...
Read now
Unlock full access