liveBook · Manning

Snapshot-based architecture

As explained in Architecting an Apache Iceberg Lakehouse

An architecture that represents table state through immutable or versioned snapshots of metadata and data references.

Snapshot-based architecture represents table state through versioned metadata and data references. In Apache Iceberg, each snapshot records a consistent table state, allowing engines to read historical versions without maintaining separate data copies. This supports auditing, debugging, recovery, and concurrent operations, while retention policies define how far back history remains available. section 1.6 section 2.4

The architecture connects snapshots to several operational capabilities:

  • Uses ACID transactions to keep concurrent reads and writes isolated and consistent. section 2.4
  • Supports time travel for auditing changes, diagnosing data problems, and recovering earlier table states. section 1.6 section 2.4
  • Combines partition evolution and hidden partitioning so physical layout can change without rewriting existing data or exposing partition columns. section 1.6 section 2.4
  • Provides branches and tags for isolated experiments, staged changes, and controlled promotion of table states. section 2.4

Retention and storage cleanup

Automate expire_snapshots to remove obsolete snapshots and unreferenced files while preserving active states. Use remove_orphan_files separately for leftovers from failed or uncommitted writes. section 11.2.4

How Architecting an Apache Iceberg Lakehouse covers it

How deep it goes
Explains snapshots, references, retention, and related table features, but does not detail the underlying metadata specification.
Examples
Uses historical queries, audit and recovery scenarios, staged branches, tags, and SQL retention procedures as concrete applications.
What you can do after
Operate/configure Iceberg tables with historical access, controlled state promotion, and automated snapshot and file cleanup.
How it connects
Connects time travel with ACID transactions, schema evolution, partition evolution, hidden partitioning, branching, tagging, and retention policies.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Architecting an Apache Iceberg Lakehouse. The section links point to the parts of the book it draws on.