Jun 20, 2026
OLTP – Phase 10 Transactions, Concurrency, REPL, and Server
The database is fully functional — it can store data, run SQL, use indexes, and survive crashes. But it’s missing three things that make a database a database:
- Transactions: grouping multiple operations into an atomic unit (BEGIN/COMMIT/ROLLBACK)
- Concurrency control: preventing multiple connections from corrupting each other’s data
- An interface: a way for users and applications to actually connect and run queries
This phase ties everything together. The WAL from Phase 9 gave us durability (the “D” in ACID). Now we add atomicity (“A”) via transactions, and isolation (“I”) via locking.