# What is Iceberg compaction? Definition and meaning

Maintenance that merges many small data files, applies deletes and expires old snapshots to keep queries fast.

## Definition

**Iceberg compaction**: Maintenance that merges many small data files, applies deletes and expires old snapshots to keep queries fast.

In short: Rewriting small files into larger ones.

## When it is used

Keeping streaming-fed Iceberg tables efficient.

## Learn more

The full guide to **[Iceberg compaction](/tools/iceberg-compaction)** explains how it works, when to use it and how it compares with the alternatives, with examples. The [glossary](/glossary) lists every term on the site from A to Z.

Previous term: [Iceberg cataloging](/glossary/iceberg-cataloging) · Next term: [Imputation networks](/glossary/imputation-networks)
