MicrolearnENPTES

Storage engines

Lesson 11 of 40 · Sys.Micro

B-trees update in place; LSM trees append and merge. Each favors a different workload.

Check yourself

Where does a write actually go?

Underneath every database is a storage engine that decides how bytes are laid out on disk. That choice explains why some databases love writes and others love reads.

The write-ahead log and why it makes writes durable

Matching the engine to read-heavy or write-heavy work

Check yourself

Why can an LSM-tree engine absorb far more writes per second than a B-tree engine on the same disk?

Do it in the browser: a real system design tool, a short mission and instant feedback. No install.

Start this lesson — free
← IndexesReplication →

All lessons · Sys.Micro