The idea to keep with you
When durability and read throughput pull in opposite directions, Z-Ordering & Data Skipping, use bin-pack compaction to fix S3 LIST/GET overhead, and Z-order (or Liquid Clustering) on 2–4 high-cardinality filter columns so min/max manifest bounds skip 95%+ of files.
TL;DR30-second simplified summary▾
Small-file fragmentation slows lakehouse planning via S3 GET/HEAD storms and prevents min/max data skipping. Bin-pack compaction merges files to 256–512 MB, while Z-order/Hilbert clustering on 2–4 columns tightens manifest bounds under OCC snapshot isolation, followed by manifest rewrites and snapshot expiry.
Before you begin · Building blocksAlready know these? Jump to Stage 01 ↓
Lakehouse Table Formats (Iceberg, Delta, Hudi)
Open table formats (Delta Lake, Apache Iceberg, Apache Hudi) add an ACID transaction log and metadata layer on top of cloud object storage (S3/GCS/ADLS) and Parquet files, enabling time travel, schema evolution, concurrent writes, and Medallion (Bronze/Silver/...
Full walkthrough · 7 stages
01
L4 · FUNDAMENTALS
.
02
L4 · FUNDAMENTALS
.
03
L5 · APPLIED DESIGN
.
04
L5 · APPLIED DESIGN
.
05
L6 · SCALE & TRADE-OFFS
.
06
L6 · SCALE & TRADE-OFFS
.
07
L7 · STAFF / PRINCIPAL
.
Practice · Explain the consequences
Practice: Make the trade-off yourself.
Question 1 of 3
Score: 0/3After running `rewrite_data_files` on a 10 TB Iceberg table, your S3 bucket usage temporarily jumps to 18 TB instead of shrinking. Why?
Recommended Learning Flow