Index

Module 01 · Data SystemsData on one machine

Storage Engines

Storage Engines
Storage Engines · Open board

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.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Lab

Write-heavy wants an LSM, read-heavy wants a B-tree. Where exactly is the flip?

Drag Share of the workload that is reads across its whole range and watch the winner under Who finishes first flip.

Open LSM vs B-tree →

Related paper

Review Data Systems →

Saved in this browser, and to your account when you sign in.