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 17 min to read

Play it as a journeyTutor comes with a plan

Two more shapes: time-series and graph engines

Storage Engines
Storage Engines · Open board

The two ways a database keeps data findable, which the two engines in this lesson both bend to fit one very particular kind of data.

Lesson 10 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

  • Eighteen terabytes of “what was the number then?”
  • A time series is one number, measured again and again
  • Delta-of-delta: store how the gap changed, not the time
  • Downsampling: keep the summary of old minutes
  • Retention: expire data by dropping a whole block
  • A graph asks a different question: who is connected to whom
  • Gorilla’s two encoders, counted
  • Edge cases and trade-offs
  • The graph, counted
  • Trade-offs of the graph shape

Terms it explains: time-series engine, graph engine, time series, delta-of-delta, Downsampling, Retention, Index-free adjacency, traversal, Common mistakes, Bloom filter, compaction, index, LSM, memtable, SSTable, tombstone, WAL.

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 papers

Review Data Systems