Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 01 · Data Systems · Data on one machine · about 19 min to read

Play it as a journeyTutor comes with a plan

Storage Extras: richer indexes, warehouse schemas, column tricks

Storage Extras
Storage Extras · Open board

The corners of storage the main board skipped: a second kind of index, how a warehouse lays out its tables, and how a column store squeezes a sorted list to nothing. Read Storage Engines first. This picks up right where it left off.

Before you start. The last lesson found two ways a database keeps data findable without reading every row, a sorted tree of pages, or sorted files merged in the background, and both lean on the same trick: keep something sorted. This lesson is about what “sorted” buys you, and what it doesn’t.

Lesson 7 of 24 in Data Systems

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • 1984: a phone book that can’t find your neighbor
  • Proof: the database won’t use its own index
  • Why a warehouse looks like a star, not a snowflake
  • The column that got sorted, and the one that didn’t
  • Two more questions a sorted list can’t answer: which documents mention this word, and which points are nearest

Terms it explains: index, concatenated index, R-tree, star schema, materialized view, data cube, edit distance, fact/dimension table, full-text index, Lucene, multi-dimensional index, projection, star vs snowflake schema.

Review Data Systems