Module 01 · Data Systems · Data on one machine · about 17 min to read
Continue where you left off ×
A lake with a ledger: Parquet, Iceberg and the lakehouse
Storage Extras · Open board
The board for how a column store lays out its data. This lesson uses the same idea one level up: the files are laid out by column, and a small list on top says which files make up the table.
Before you start. The Choices Before the Requirements named the lake (cheap raw files) and the warehouse (tidy tables), and said a lakehouse sits between them. Storage Engines showed why analytics reads faster when each column is stored together. Storage Extras: richer indexes, warehouse schemas, column tricks showed that a sorted column compresses to almost nothing. Object Storage and the CDN gave you object storage: whole files in a bucket, each one written once and never edited in place.
The idea in 30 seconds
Parquet stores a table by column inside row groups, so a query for one column reads only that column, and a footer lets it skip row groups.
A folder of files is not a table: a reader cannot tell which files belong together, and a change to many files is not all-or-nothing.
A snapshot is the list of data files at one moment, and a change is a new snapshot switched in by moving one pointer.
Time travel is reading an older snapshot, which works because data files are never edited.
A manifest keeps the smallest and largest value per file, so a query can skip files without opening them.
Compaction rewrites many small files into a few large ones as a new snapshot, and the lakehouse is this design on cheap object storage.
Read the story
Lesson 8 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 plans Already a member? Sign in
Or start free : a free account opens lessons 2 and 3 of every track.
In this lesson The problem: a query reads while a job rewrites Parquet: one file, stored by column The weakness that remains: many files, and nobody to say which Snapshot: the list of files at one moment Time travel: reading an old snapshot Manifest: a list of files that carries its own footer notes Compaction: many small files become few large ones Why the lakehouse won Terms it explains: Parquet, row group, footer, snapshot, time travel, manifest, Compaction, lakehouse, Common mistakes, column chunk, page, optimistic concurrency, concatenated index, data cube, edit distance, fact/dimension table, full-text index, Lucene, materialized view, multi-dimensional index, projection, R-tree, star vs snowflake schema.
Review Data Systems
Mark as read Saved in this browser, and to your account when you sign in.