Open In App

Query-Evaluation Plan in SQL

Pre requisites: Query Execution Engine in SQL, Query-Execution Plan in SQL

In this article, we will see about Query Evaluation Plan in SQL and how the system optimizes the given query. Basically, Query Processing in SQL is extracting data from the datasets. There are various steps involved like Parsing and translation, Optimization, and Query Evaluation.



Query Evaluation Plan : 

It is nothing but a program for an abstract machine inside the DBMS. It is produced by the query optimizer. At times this can also be termed as access plan because DBMS decide’s how to access the rows. Query evaluation plans are very much similar to relational algebra expressions in most of the systems.

 

Executing a Query Evaluation Plan :

In many relational algebra expressions it is very necessary to translate expression and also to annotate the translated relational algebra expression with the commands used for stating and evaluating operation. And immediately after translating the user query, the system uses the query program.



Characteristics of Query Evaluation Plan:

Optimization : 

Article Tags :