Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

All use cases
  1. Home
  2. Use cases
  3. Cloudera Open Data Lakehouse
  4. Iceberg Compaction and Maintenance Programme
Cloudera Open Data LakehouseInsuranceFinancial services

Iceberg Compaction and Maintenance Programme

Compaction, snapshot expiry and monitoring that bring file counts and query times back under control.

The challenge

What teams are up against

Typical situation: an insurer streams claims events into Iceberg tables every minute. After a few months, queries open thousands of small files, planning takes longer than the scan, and storage grows faster than the data.

Our approach

How we deliver it, step by step

  1. 01

    Measure

    List tables by file count, snapshot count and size, and record the query time on the top queries.

  2. 02

    Compact

    Compact the changing partitions, not the whole table, outside peak query hours.

  3. 03

    Expire snapshots

    Expire to an agreed retention, with a minimum number of snapshots kept for rollback.

  4. 04

    Monitor

    Alert on file count and snapshot count per table.

  5. 05

    Hand over

    A runbook the platform team can run and change.

Architecture

The components involved

From the top of the stack down

Query enginesRead
Compaction and expiry scheduleMaintenance
File and snapshot countsMonitoring
Iceberg tablesStorage

Hive and Impala both compact Iceberg tables and expire snapshots on Cloudera. A scheduled job runs compaction on the partitions that change, then expires snapshots to the agreed retention, and a monitoring view tracks file counts and snapshot counts per table.

Apache IcebergImpala OPTIMIZE TABLEexpire snapshotsHivemonitoring

Outcomes

What changes when it is in place

Fewer, larger data files on the busiest tables.

Storage that falls after snapshot expiry instead of growing without limit.

A schedule and alerts owned by a named team.

Why Duczer East

Senior practitioners, from scope to delivery

We run Iceberg on Cloudera, we know compaction temporarily adds files before expiry removes them, and we plan retention with the table owners first.

About Duczer East

FAQ

Questions we are asked about this

Why do Iceberg tables get slow?

Many small files and long snapshot history. Compaction and snapshot expiry fix both.

Does compaction lock the table?

Readers keep working, but compaction rewrites data and takes time, so schedule it for quiet hours.

How long should we keep snapshots?

As long as you need time travel and rollback. Agree it with the table owners.

Let's Talk

Talk through this use case

Tell us about your systems and where you are today. A senior practitioner replies, and only your email is required.

Get a quote