R0KernelPath
roadmap/track 20
20

Databases

Storing, querying and protecting data at scale.

0
cs8-01

The Relational Model

The relational model is the mathematical foundation — based on set theory and first-order logic — that makes every SQL database provably correct and query-optimizable.

11 concepts~14h
cs8-02

SQL in Depth

SQL is the declarative language that lets you say *what* data you want and trust the database engine to figure out *how* to retrieve it — mastering it means mastering set theory, relational algebra, and the art of composable queries.

10 concepts~18h
cs8-03

Database Design & Normalization

Master the art of organizing data so it stays consistent, queryable, and free of the hidden redundancy bugs that corrupt real systems.

11 concepts~14h
cs8-04

Storage & Indexing

From spinning-disk physics to B+ tree surgery — master how databases actually store, find, and serve billions of rows at hardware speed.

9 concepts~18h
cs8-05

Query Processing & Optimization

Query optimization is the art of automatically turning a declarative SQL statement into the fastest possible execution plan — the engine's brain that separates toy databases from industrial ones.

11 concepts~18h
cs8-06

Transactions & ACID

Transactions give databases a superpower: all-or-nothing bundles of operations that survive crashes and concurrent chaos — the bedrock of every financial, medical, and social system on earth.

11 concepts~12h
cs8-07

Concurrency Control

Concurrency control is the art of letting many transactions run simultaneously while making the database behave as if they ran one at a time.

10 concepts~18h
cs8-08

Recovery & Durability

ARIES and write-ahead logging: how databases survive crashes and guarantee that committed transactions are never lost, no matter what fails.

11 concepts~14h
cs8-09

Distributed & NoSQL Databases

Distributed and NoSQL databases let you trade some guarantees for massive scale — understanding exactly what you give up, and when it is worth it, is the art.

10 concepts~18h