Chai Prep

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.

Handwritten A4: a bracket enclosing three operations, debit A, credit B, log entry, with BEGIN written at the top and COMMIT at the bottom. To the side, a second copy where a crash symbol interrupts the middle and an arrow labelled ROLLBACK returns everything to the start state.Chapter 27, Transactions & ACIDWhat a transaction is
34
chapters
7
parts
239
illustrated pages
12
hours of reading

What 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.

Questions

Good to know.

Who is this course for?
Students working through a university databases syllabus, and engineers who want to know why a query is slow, why an index was ignored, or what really happens between BEGIN and COMMIT. Everywhere the theory has a practical side, the course shows both.
How is a chapter laid out?
Each chapter opens with a short introduction, then works through its topic one section at a time. Every section pairs a drawn page with a written explanation, so you can take in the picture first and then read the detail. Some chapters (4 in all) also include an interactive figure you can step through.
How long does it take?
About 12 hours of reading in all, across 239 sections. A chapter takes between 18 and 24 minutes, so one fits comfortably into a study session.

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.