Articles → SQL SERVER → Introduction To Execution Plans
Introduction To Execution Plans
Components
- Relational engine – This component generates an execution plan from the query submitted by the query source
- Storage engine – Executes query based on the execution plan
Process
- Query parsing
- Algebrizer
- Query optimizer
Query Parsing
Algebrizer
- It resolves the names of tables and columns mentioned in the query
- It identifies data type associated with each column of the table
- It also identifies the aggregate functions i.e. group by, max etc. mentioned in the query
Query Optimizer
Estimated And Actual Execution Plan