25 Finalreview
25 Finalreview
26
LM
Intro to Database Systems Lin Ma
15-445/15-645 Computer Science Carnegie
Fall 2021 Mellon University
2
ADMINISTRIVIA
FINAL EXAM
Open book/notes/calculator.
C O U R S E E VA L S
SQL
Buffer Pool Management
Hash Tables
B+Trees
Storage Models
Inter-Query Parallelism
Q U E R Y O P T I M I Z AT I O N
Heuristics
→ Predicate Pushdown
→ Projection Pushdown
→ Nested Sub-Queries: Rewrite and Decompose
Statistics
→ Cardinality Estimation
→ Histograms
Cost-based search
15-445/645 (Fall 2021)
7
TRANSACTIONS
ACID
Conflict Serializability:
→ How to check?
→ How to ensure?
View Serializability
Recoverable Schedules
Isolation Levels / Anomalies
TRANSACTIONS
Two-Phase Locking
→ Rigorous vs. Non-Rigorous
→ Deadlock Detection & Prevention
TRANSACTIONS
CRASH RECOVERY
D I S T R I B U T E D D ATA B A S E S
System Architectures
Replication
Partitioning Schemes
Two-Phase Commit
FINAL COMMENTS