Docsity

Intro to Database Systems Final Review, Study notes of Database Management Systems (DBMS)

Partial preview of the text

Download Intro to Database Systems Final Review and more Study notes Database Management Systems (DBMS) in PDF only on Docsity!

Intro to Database Systems 15 - 445/15- 645 Fall 2021 Lin Ma Computer Science Carnegie

LM Mellon University

Final Review

A D M I N I S T R I V I A

Homework #5 : Due Thursday Dec 2 nd @ 11:59pm. Project #4 : Due Sunday Dec 5 th @ 11:59pm. Additional office hours on Saturday Dec 4 th @ 3:00pm. Final Exam : Friday Dec 10 th @ 8:30am at Doherty Hall 2210. Bring pencil and rubber.

C O U RS E E VA L S

Your feedback is strongly needed: โ†’ https://cmu.smartevals.com โ†’ https://www.ugrad.cs.cmu.edu/ta/F21/feedback/ Things that we want feedback on: โ†’ Homework Assignments โ†’ Projects โ†’ Reading Materials โ†’ Lectures

S T U F F B E F O R E M I D - T E R M

SQL

Buffer Pool Management Hash Tables B+Trees Storage Models Inter-Query Parallelism

T R A N S A C T I O N S

ACID

Conflict Serializability: โ†’ How to check? โ†’ How to ensure? View Serializability Recoverable Schedules Isolation Levels / Anomalies

T R A N S A C T I O N S

Two-Phase Locking โ†’ Rigorous vs. Non-Rigorous โ†’ Deadlock Detection & Prevention Multiple Granularity Locking โ†’ Intention Locks

C R A S H R EC OV E RY

Buffer Pool Policies: โ†’ STEAL vs. NO-STEAL โ†’ FORCE vs. NO-FORCE Write-Ahead Logging Logging Schemes Checkpoints ARIES Recovery โ†’ Log Sequence Numbers โ†’ CLRs

D I S T R I B U T E D DATA BA S E S

System Architectures Replication Partitioning Schemes Two-Phase Commit