Articles → SQL SERVER → Introduction To Execution Plans

Introduction To Execution Plans






Components




  1. Relational engine → This component generates an execution plan based on the query submitted by the query source.
  2. Storage engine → Executes queries based on the execution plan.


Picture showing the pictorical representation of the process from query submission to query execution



Process




  1. Query parsing
  2. Algebrizer
  3. Query optimizer
  4. Picture showing the pictorical representation of the different processes in the relational database





Query Parsing





Algebrizer




  1. Resolves table and column names referenced in the query.
  2. Determines the data type of each column involved.
  3. Identifies the aggregate functions, like group by, max, etc.



Query Optimizer





Estimated And Actual Execution Plan





Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, April 1, 2015

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250