Database Systems
Know exactly what your query is doing.
A full course, from an ER diagram on paper down to the B+ tree the database walks, the plan it picks, and the log it writes before it commits. The whole university syllabus, taught the way an engineer actually needs it.
Practise the SQL in a real databaseChaiCode SQL Labs, run queries against live tables, right in the browser.Start here
InIntroduction5 sectionsFoundations
Why databases exist, how a DBMS is built, data models, and ER design turned into tables.
The Relational Model & SQL
Relational algebra, DDL and DML, every kind of join, subqueries, aggregation and views.
Design & Normalization
Functional dependencies, 1NF through BCNF and beyond, and when to stop normalizing.
Storage & Indexing
Pages and heap files, B+ trees, hash indexes, composite and covering indexes, and why an index gets ignored.
Query Processing & Optimization
Physical operators, join algorithms, cost estimation, and reading a real EXPLAIN plan.
Transactions & Recovery
ACID, schedules and serializability, locking, MVCC, isolation anomalies, and write-ahead logging.
Modern Databases & Capstone
Replication and sharding, SQL versus NoSQL, and designing a real schema end to end.
34 chapters published · every concept illustrated.