Query Processing and Optimization Flashcards

1
Q

Query Tree

A

Internal representation of query

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Query Processing

A
    • Query
    • Parser
    • Logical Plan
    • Optimizer
    • Physical Plan
    • Evaluation Engine
    • Query Output
How well did you know this?
1
Not at all
2
3
4
5
Perfectly