Storage Engines

The Data Systems track’s take on storage: a database has to put your bytes on a disk and find them again, and there turn out to be exactly two honest ways to do both. This lesson tells the story of each, and by the end you’ll know which one your own database is running.
Before you start. The previous lesson, Data Models and Query Languages, was about the shapes you’re allowed to store your data in - tables, documents, graphs - and the languages you ask questions in. This lesson is about what the database does after you say “save”: how it puts those bytes on a disk, and how it finds them again without reading everything you ever gave it.