Databases semester exam roadmap
Numericals
Days 10 to 12: closures, keys, index sizes, join costs and schedules. 4 topics, about 9 hours.
Closures, keys and normal forms
About 3 h.
- Count candidate keys and find the highest normal form quickly
Visualisers: Normalisation
Index order, height and hashing
About 2 h.
- Compute B+ tree order from block, key and pointer sizes
- Fill a hash table with a given collision strategy
Visualisers: B+ tree, Hashing & indexing
Join costs
About 2 h.
- Count block transfers for nested-loop, block nested-loop and hash joins
Visualisers: SQL joins
Schedules
About 2 h.
- Classify schedules as serialisable, recoverable, cascadeless or strict
Visualisers: Serialisability