Index

Module 06 · From ScratchLSM Tree

LSM 03-04: Table Files and the Sparse Index

Storage Extras
Storage Extras · Open board

The Data Systems board that adds the pieces around the two storage engines, including how a log-structured engine keeps its files findable. This lesson builds the file and the index into it. Part of the LSM series, Build Your Own LSM Tree.

Before you start. This series builds a small copy of a storage engine that never edits a file in place. LSM 01-02: The Memtable and the Log built the sorted memtable and the log that protects it. Both live in memory and a log that only grows. This lesson builds the step the whole design is named for: writing the memtable to disk as a sorted file, and finding a key in that file without reading all of 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

Review From Scratch →

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