LakeOps

Iceberg compaction, without the Spark jobs.

LakeOps compacts small files and expires old snapshots on your Iceberg tables every day. No Spark cluster to run, no maintenance scripts to schedule, and every table's health on one page.

Why tables slow down

An Iceberg table needs upkeep from its first write.

Compaction merges small files into fewer large ones. Snapshot expiry removes table versions past their retention. Skip either and reads get slower while storage grows.

Small files pile up

Streams and incremental loads write many small files. Every query then opens thousands of them, and planning slows down before a single row is read.

Snapshots never leave

Every commit adds a snapshot, and the files it replaced stay in storage until that snapshot is expired. The table grows even when the data does not.

The usual fix is another cluster

In open-source Iceberg, rewrite_data_files, expire_snapshots and remove_orphan_files are Spark procedures. Someone has to size the cluster, schedule the jobs and notice when one fails.

See which tables need attention.

Every table in your Glue and Nessie catalogs is listed with its current shape, so a table that needs work is visible without opening it. Open one to see its maintenance history and change its policy.

  • Rows, size, data files, small files and average file size
  • Snapshot count and the age of the oldest snapshot
  • Run compaction or expire snapshots for one table by hand
On by default

Maintenance starts when a table appears.

A table gets its policy the first time the scheduler sees it. These are the defaults; change them per table when a table needs something else.

CompactionOnce a dayIn a staggered 02:00–05:00 UTC window, so a catalog's tables do not all start at once.
Target file size512 MiBFiles smaller than this are rewritten together. Editable per table.
Snapshot expiry90 minutes after compactionOn Glue catalogs. Nessie manages its own snapshot history.
Snapshot retention7 daysExpiry removes snapshots older than this. Editable per table.
PausePer tableStop the schedule for one table without deleting its policy.
Safe to leave running

Checked before anything is deleted.

Queries keep reading

Each operation commits atomically, so queries keep reading the table while a compaction or an expiry runs.

Verified before anything is deleted

A compaction's row counts must verify before any snapshot is expired. A failed check blocks expiry for that table.

Orphan removal is explicit

Expiry only removes snapshots. Orphan removal is the one operation that physically deletes files, and its cutoff cannot go below 24 hours.

Sized to the table

A table under 2 GiB is compacted on 1 vCPU and 4 GiB of memory. A 220 GiB table gets more. You do not size anything.

What it covers
  • LakeOps covers Iceberg tables in the AWS Glue and Nessie catalogs you connect.
  • Nessie catalogs get compaction only, because Nessie manages snapshot history itself.
  • Cloudflare Basin tables are compacted by Cloudflare, not by LakeOps.

Stop babysitting your Iceberg tables.