Week 12
Assignment 2
Query Processing So Far
Estimating Selection Result Size
Estimating Join Result Size
Ex1: Join Size Estimation
Cost Estimation: Postscript
PostgreSQL Query Optimiser
Overview of QOpt Process
QOpt Data Structures
Query Optimisation Process
Top-down Trace of QOpt
Join-tree Generation
Query Execution
Query Execution
Materialization
Pipelining
Iterators (reminder)
Pipelining Example
Disk Accesses
PostgreSQL Query Execution
PostgreSQL Query Execution
PostgreSQL Executor
Example PostgreSQL Execution
Query Performance
Performance Tuning
PostgreSQL Query Tuning
EXPLAIN Examples
Ex2: EXPLAIN examples
Transaction Processing
Transaction Processing
Schedules
Transaction Anomalies
Example of Transaction Failure
Produced: 17 May 2016