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 needs it.
Chapter 27, Transactions & ACIDWhat a transaction isWhat the course covers
34 chapters in 7 parts.
Read them in order, or jump to the topic you need. Every section pairs a clear written explanation with a drawn page you can take in at a glance.
Part A
Foundations
Why databases exist, how a DBMS is built, data models, and ER design turned into tables.
5 chapters
Part B
The relational model and SQL
Relational algebra, DDL and DML, every kind of join, subqueries, aggregation and views.
7 chapters
Part C
Design and normalization
Functional dependencies, 1NF through BCNF and beyond, and when to stop normalizing.
4 chapters
Part D
Storage and indexing
Pages and heap files, B+ trees, hash indexes, composite and covering indexes, and why an index gets ignored.
6 chapters
Part E
Query processing and optimization
Physical operators, join algorithms, cost estimation, and reading a real EXPLAIN plan.
4 chapters
Part F
Transactions and recovery
ACID, schedules and serializability, locking, MVCC, isolation anomalies, and write-ahead logging.
5 chapters
Part G
Modern databases and capstone
Replication and sharding, SQL versus NoSQL, and designing a real schema end to end.
3 chapters
Questions
Good to know.
Who is this course for?
How is a chapter laid out?
How long does it take?

Stop guessing what the database is doing.
Start with the introduction for a map of the whole course, then follow a query from the ER diagram all the way to the log.

































