Index

Module 06 · From ScratchLSM Tree

LSM 05: The Bloom Filter

Storage Extras
Storage Extras · Open board

The Data Systems board on the pieces around the two storage engines, among them the Bloom filter that lets a log-structured engine skip files. This lesson builds that piece. 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 03-04: Table Files and the Sparse Index made each table file cheap to ask with a sparse index, and left one problem standing: a key that is not in the database still makes the engine ask every file. You need no probability beyond “one in a hundred”. Storage Extras: richer indexes, warehouse schemas, column tricks describes Bloom filters in prose and is worth reading first or after.

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.