A slow Iceberg query is not only a compute problem. Sometimes the table is telling you exactly why planning is expensive, and the answer is sitting in the manifests.

Manifest files make planning inspectable

Apache Iceberg tracks table state through metadata files, manifest lists, and manifest files. The table specification describes manifest lists as files that summarize manifests, including file counts and partition field summaries. That makes planning less mysterious than it looks from the query engine surface.

For lakehouse platform engineers, this matters because query planning is an evidence problem. If a table has too many tiny files, stale manifests, weak partition alignment, or unexpected delete patterns, the manifest layer can show it before everyone starts blaming the serving engine.

Core idea: Iceberg manifests are not internal noise. They are planning evidence for pruning, maintenance, freshness, and incident review.

The evidence layer starts before the query runs

The Iceberg specification defines manifest lists and manifest files as part of the table metadata model. The Iceberg maintenance guide describes the metadata tree as an index over table data that helps query planning and pruning.

That means a platform team can inspect planning evidence without treating every bad query as a one-off performance mystery. The useful artifacts include snapshot ID, manifest list path, manifest count, data file count, partition summaries, delete file behavior, and the maintenance action that changed the table.

Patterns that work

  • Record the snapshot ID and manifest list path for important data product releases.
  • Track manifest counts and data file counts as part of table health, not only storage cost.
  • Tie compaction and manifest rewrite jobs to the query filters they are meant to improve.
  • Expose partition summaries and pruning expectations in incident notes when query plans surprise operators.
  • Keep agent-facing query tools aware of freshness and snapshot evidence before they run expensive scans.

For adjacent ODI context, read Apache Iceberg as ODI, Iceberg metadata interoperability, snapshot retention policy.

What breaks first

  • Compaction runs on a calendar, but nobody records which planning problem it was meant to fix.
  • Agents query a table without knowing whether the snapshot is fresh enough for the workflow.
  • Serving teams see latency spikes but cannot connect them to manifest growth or partition drift.
  • Governance reviews talk about table access while ignoring the metadata path that actually shaped the scan.

Questions to ask

  • Which manifest and snapshot evidence is captured for high-value tables?
  • Can operators explain why a query pruned or scanned a partition range?
  • Which maintenance job last changed the manifest structure?
  • Can an approved AI tool cite the snapshot it queried?

Sources to start with

These primary sources anchor the technical claims in this guide.

If the manifest layer is invisible, query planning becomes folklore.