

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A set of lecture notes for cs 4420 database system implementation course at georgia tech, focusing on query processing and optimization. The notes cover topics such as query processing phases, relational query optimization, and various heuristics for good transformations. The professor is ling liu.
Typology: Study notes
1 / 2
This page cannot be seen from the preview
Don't miss anything!


1
DB09 (^) Introduction
Prepared by Ling Liu
Ling Liu Associate Professor College of Computing, Georgia Tech
2
DB09 (^) Introduction
Prepared by Ling Liu
Review of Last Lecture: z Summary of Multi-dimensional Indexing Techniques
z Query Processing (Part I) Æ Query Processing Steps Æ Algebraic Transformation & Logical Query Plans
z Query Processing (cont) ÆAlgebraic Based Optimization ) Good transformations ÆCost-based Query Optimization )Intermediate Result Estimation )I/O Blocks Estimation
3
DB09 (^) Introduction
Prepared by Ling Liu
Query Processing Phases
z Algebraic transformations z good transformations
z estimate costs (intermediate results size, I/O blocks) z generate and compare plans
4
DB09 (^) Introduction
Prepared by Ling Liu
Relational Query Optimization
z Using Heuristics for good transformations to reduce the search space of local query plans z Typical Heuristics Æ Push Selection and Projection closer to the base relations in a SQL query tree. Æ Reduce intermediate result size as much as possible
z Consider various indexes and their performance characteristics when estimating costs of alternative query plans z Pick the most economical physical query plan for query execution