Ans-:
Query Processing and Optimization
Query Processing
Different phases
of Query Processing are:
·
In the first phase called syntax checking phase, the system parses
the query and checks that it follows the syntax rules or not.
·
It then matches the objects in the query syntax with the view
tables and columns listed in the system table.
·
Finally, it performs the appropriate query modification. During
this phase, the system validates the user privileges and that the query does
not disobey any integrity rules.
·
The execution plan is finally executing to generate a response.