Query Processing and Optimization Flashcards
1
Q
Query Tree
A
Internal representation of query
2
Q
Logical plan
A
o Based on relational algebra
o Level: Higher-level, algebraic
o Operators: Query language constructs
o Logical level optimization = aka heuristic optimization
3
Q
Physical plan
A
o Concrete algorithms
o Level: lower-level, operational
o Operators: “Access Methods”
o Physical level optimization = aka cost-based optimization
4
Q
Query Processing
A
- Query
- Parser
- Logical Plan
- Optimizer
- Physical Plan
- Evaluation Engine
- Query Output