A Field Guide to the Database Engine
Sixteen weeks, one machine. This is the map. Every box below is a layer a query passes through on its way from text to bytes and back. Click any layer to open the lesson that takes it apart, or read the parts in order. The point of this page is the thing that is hardest to get from sixteen separate lectures: how it all fits together.
A SELECT enters as text at the top and walks down: the parser turns it into a tree, the optimizer picks a plan, the executor pulls tuples one at a time through its operators, the access methods find the right pages, the buffer pool serves them from memory or fetches them from disk, and the storage layer hands back raw bytes. An UPDATE adds two more characters to the cast: the transaction manager on the left decides whether your change is allowed to interleave with everyone else's, and the log on the right writes down what you did before the change touches the page, so a crash can never lose a committed write. Hold this picture. Every lesson is a zoom into one box.
The whole machine
Storage: where the bytes live
The buffer pool: memory is the real disk
Indexes: finding the needle
Query processing: from text to tuples
Transactions and recovery: never lose a write
Modern and distributed
Reference shelf and exam prep
Cheat sheets are built to print. The exam bank is MCQ-only practice across every topic; the viva bank is the anticipated-question set for the four papers.
Each lesson ends with a prompt to ask your teacher. That teacher is the agent that built this. Ask it to go deeper on any box in the map above, redraw a diagram, or quiz you harder before the exam.
Built with the teach and humanizer skills. The research that grounds every lesson, the course spine, and the build methodology are in research/.