





































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






































































Query Processing and Optimization
(Reading in the Textbook: Chapters 18 & 19)
S
The SELECT operation
qS(B1, B2, .., Bn) (R) or qS (R) or q(B1, B2, .., Bn) (R)
The RENAME operation
Set Theoric Operations
INTERSECTION
SET DIFFERENCE
JOIN
OUTER JOIN
17
Syntax Checking
Validation
Translation
Relational Algebra Optimization
Strategy Selection
Code Generation
<--SQL Query --> Syntactically Correct SQL Query
--> Valid SQL Query --> Relational Algebra Query
--> Optimized Relational Algebra Query
--> Execution Plan
--> Code for Query Query Processing and Optimization