Cost Optimization

Cut Iceberg storage and compute costs up to 76%

Better-laid-out files cut what every query costs, cleanup stops you paying for data nobody reads, and maintenance runs on a Rust engine instead of Spark clusters.

Less query CPU
76%
Storage reclaimed
56%
Cheaper compaction
90%
LakeOps LogoLakeOps

Last 30 days Optimization Activity

Total Operations
12,211
Last 90 days
Query Speed
12.4×
Avg. acceleration across engines
Cost Savings
$1,374,672
Saved in last 3 months
CPU & Storage
-76%
Last 90 days
Data Optimized
46.8 PB
Last 30 days

Key Metrics

Total Tables
786
Tables in all catalogs
Critical Tables
70
Require immediate attention
Warning Tables
105
Should be addressed or auto-piloted
Healthy Tables
566
Tables in optimal state
Total Data
112.4 PB
Total lake data size

Storage

-56% reclaimed
30d
112 TB75 TB38 TB
Storage used

CPU

-76% reduction
30d
100%66%33%
Compute hours

Recent Operations

Last 10 operations
OperationTableDurationImpactTimeStatus
Compact Data Files
customer_orders
orders
4s1.24 TB, 16 → 1 files57 minutes agoSUCCESS
Expire Snapshots
payment_transactions
payments
27s8.2 TB4 hours agoSUCCESS
Expire Snapshots
inventory_snapshots_20250702
warehouse
3s2.1 TB4 hours agoSUCCESS
Rewrite Manifests
raw_clickstream
analytics
1.9s3 → 1 manifests5 hours agoSUCCESS
Compact Data Files
product_catalog
products
6m 11.3s3,008 → 1,256 files6 hours agoSUCCESS

Lake Events

LiveLast 24 hours
Compact Data Files·customer_orders
ecommerce_prod·1.24 TB, 16 → 1 files
4s57 min agoOK
Expire Snapshots·payment_transactions
ecommerce_prod·12 snapshots expired
4.6s1h agoOK
Compact Data Files·raw_clickstream
marketing_events·970 → 87 files
9m 31.6s2h agoOK
Remove Orphan Files·user_sessions
marketing_events·847 MB reclaimed, 1,203 files
1m 12s3h agoOK
Rewrite Manifests·search_query_logs
ecommerce_prod·487 → 12 manifests
2.1s3h agoOK
Expire Snapshots·inventory_levels
warehouse_analytics·62 snapshots, 18.4 GB freed
27s4h agoOK
Compact Data Files·product_catalog
ecommerce_prod·3,008 → 1,256 files
6m 11.3s5h agoOK
Rewrite Manifests·shipping_events
warehouse_analytics·14 → 3 manifests
1.0s6h agoOK
Remove Orphan Files·balance_snapshots
warehouse_analytics·59,831 files, 74.8 GB
13m 6.9s7h agoOK
Compact Data Files·ad_impressions
marketing_events·42,633 → 69 files
2m 18s8h agoOK
No vendor lock-in
No code / infra changes
No data changes
REST API & MCP

Open and runs on your stack

AWS
Azure
Google Cloud
Snowflake
Databricks
Apache Flink
Apache Iceberg
Delta Lake
DuckDB
Dremio
Lakekeeper
ClickHouse
AWS
Azure
Google Cloud
Snowflake
Databricks
Apache Flink
Apache Iceberg
Delta Lake
DuckDB
Dremio
Lakekeeper
ClickHouse

How it works

From hidden waste to savings you can see

LakeOps finds where each table wastes money, fixes it in place, and shows what it saved.

  1. Connect a catalog

    Point LakeOps at AWS Glue or any Iceberg REST catalog. Your data stays in your bucket.

  2. Find the waste

    Each scan finds small files, old snapshots, delete files, and orphaned storage.

  3. Fix what's due

    Compaction, expiry, and cleanup run when each table needs them, on a Rust engine.

  4. See the savings

    The dashboard shows storage reclaimed and its estimated monthly saving.

LakeOps Dashboard with 30-day maintenance activity, cost savings, table health counts, and recent operations

01 · See the savings

What maintenance saved, on one screen

The dashboard sums the last 30 days of maintenance across every connected catalog: storage reclaimed with its estimated monthly saving at S3 Standard pricing, data optimized, and the file count reduction from compaction. Storage trends show where the lake is growing.
  • Storage cost savings for the last 30 days, with a monthly estimate
  • Top tables needing optimization, by size and status
  • Operations Monitoring adds space freed for any range from 24 hours to 30 days
Cost per queryAfter compaction

Query CPU billed

76% less

970 → 87 files, sorted by the columns queries filter on

Files opened (S3 GETs)−62%
Data scanned−51%
Query CPU−76%
Before After

02 · Query compute

Lower the cost of every query

Query CPU is usually the biggest line on the bill, and poor file layout drives it. LakeOps merges small files and sorts them by the columns your queries filter, join, and group on, so every engine opens fewer files, scans less data, and spends less CPU.
  • Query-aware sort: learns WHERE, JOIN, and GROUP BY columns from production traffic
  • 970 → 87 files on a typical table, with 62% fewer S3 GETs per query
  • 51% less data scanned and up to 76% less query CPU
Storage reclaimedObject storage

Storage reclaimed

56% freed

Old snapshots, orphan files, and stale data

Bucket44% live · 56% reclaimed

Expire snapshots

History past your retention; tags kept

Adaptive

Remove orphan files

Unreferenced, older than 7 days

Own policy

Remove dangling deletes

Delete files with nothing left to apply to

Adaptive

03 · Storage

Stop paying for data no query reads

Old snapshots pin files you no longer need, failed writes leave orphans, and compaction leaves small files behind until they're cleaned up. LakeOps expires snapshots past your retention, removes dangling delete files, and runs orphan cleanup as its own policy with a safety window.
  • 56% of storage reclaimed from old snapshots, orphan files, and stale data
  • Orphan sweeps routinely reclaim 20–40% of lake storage
  • Deletes, not rewrites, so cleanup costs almost no compute
Maintenance compute200 GB compaction

Compute for the same compaction

90% less than Spark

Rust on Apache DataFusion, no cluster to keep warm

Amazon S3 Tables6,300s
Spark1,612s
LakeOps (Rust)221s

95%

Faster than Spark

2,522 MB/s

Peak throughput

04 · Maintenance compute

Maintenance that costs 90% less than Spark

Compaction still takes compute. LakeOps runs it on a purpose-built Rust engine on Apache DataFusion, on LakeOps-managed compute, so there's no Spark cluster to size, tune, or keep warm between runs.
  • About 90% less compute than Spark for the same compaction
  • 200 GB in 221 seconds, versus 1,612 for Spark
  • A 1.2 TB table that ran Spark out of memory finished in about 11 minutes
Adaptive Maintenance
Running
⚡Compaction Scope— what will be targeted this run

Monitoring started at seq #4,812. Everything written from that point on is in scope.

already compacted
38% hot zone — will compact
#4,812 baseline#7,104 watermark#8,506 now
📦Compaction
Last: 57 minutes agoNext: in 2h
62%
•42% of data files are below the 384 MB size threshold
•1.24 TB compactable — will merge into ~3 files at 512 MB target
•16 delete files amplify read cost — compaction will absorb them
⚡Snapshot Expiration
Last: 4 hours agoNext: in 20h
31%
•12 of 83 snapshots have passed the retention window
•Retention policy: 5.0 days
•Table creates 3.2 snapshots/hr — stale ones accumulate quickly
🧹Rewrite Position Deletes
Last: 7 hours agoNext: in 9h
24%
•16 position delete files across 4 partitions
•Delete ratio 6% — below the rewrite threshold
📝Rewrite Manifests
Last: 5 hours agoNext: in 1h
78%
•92 total manifests: 89 data + 3 delete
•Accumulating 2.1 manifests/hr — metadata overhead grows
•High manifest count degrades query planning and scan performance

05 · Only what's due

No compute spent on tables that are fine

Cron jobs rewrite every table on schedule, whether it changed or not. Adaptive Maintenance measures each table's small files, deletes, snapshots, and manifests, and runs an operation only when its signals cross a threshold, with a cooldown so it never repeats back to back.
  • Healthy and unchanged tables are skipped
  • Busy streaming tables are maintained as often as they need
  • Scheduled mode keeps maintenance inside a time window you choose

Policies

Manage maintenance, configuration, and lifecycle policies for your data lakehouse

OnPolicyTypeNext RunLast RunUpdatedActions
orders_critical
Compact FilesApr 25, 2026, 8:12 AMApr 25, 2026, 03:05 AMFeb 01, 2025, 3:46 PM•••
payments_compact
Compact FilesFeb 15, 2026, 12:06 AMFeb 1, 2025, 02:18 PMFeb 5, 2025, 4:03 PM•••
Remove orphan files (e-ip...)
For all tables in all catalogs every 7 days
Orphan FilesApr 25, 2026, 8:12 AMApr 25, 2026, 04:07 PMJun 23, 2025, 04:01 PM•••
clickstream_cdc_events_p
Expire SnapshotsApr 25, 2026, 12:03 AMApr 25, 2026, 03:05 AMJan 28, 2025, 03:25 PM•••
sessions_cdc_events_p
Expire SnapshotsApr 25, 2026, 12:03 AMApr 26, 2026, 03:05 AMJun 26, 2025, 11:11 PM•••
global_expire_snapshots
Runs snapshot expiration on all tables once a day
Expire SnapshotsApr 26, 2026, 1:18 PMApr 07, 2026, 01:08 PMMar 14, 2026, 8:42 AM•••
manifest_rewrite_weekly
Rewrite manifests for all critical tables weekly
Rewrite ManifestsApr 28, 2026, 2:00 AMApr 21, 2026, 02:00 AMMar 10, 2026, 9:15 AM•••
staging_config
Configuration——Dec 31, 2025, 02:45 PM•••

06 · Retention policies

Retention rules that stop storage creeping back

Set retention once for the catalogs, namespaces, or tables you choose. Expire Snapshots, Create Tags, and Remove Orphan Files policies keep storage in check as tables grow, and new tables in scope pick them up on their next scan.
  • Keep only the history you need; tagged snapshots are always kept
  • Orphan cleanup with a 7-day safety window by default
  • Every run recorded in Events, with what it freed

Engine comparison

Compare engines side-by-side on cost, latency, throughput, and data scanned.

Select engines

Spark
Active
Trino
Active
Athena
Active
Snowflake
Active
DuckDB
Active
Flink
Active

Performance comparison

MetricSparkTrinoAthenaSnowflake
Query success rate99.2%99.5%99.9%99.8%
Average runtime3.1s1.8s2.3s2.1s
Cost per query$0.04$0.03$0.05$0.08
Total queries3,1202,4561,2801,876
Data scanned4.2 TB2.8 TB1.5 TB3.5 TB

Cost vs latency

Lower-left is ideal

Low cost
High cost

Success rate

Spark
99.2%
Trino
99.5%
Athena
99.9%
Snowflake
99.8%

07 · Engine cost

Compare engines on cost per query

The Engines view compares the engines in your stack on cost per query, runtime, data scanned, and success rate. Optional query routing, built on open-source QueryFlux, then sends each query shape to the pricing model that fits it.
  • A mismatched engine can cost 2–5× more for the same SQL
  • Matching shapes to engines cut a representative suite's cost by up to about 56% in QueryFlux's tests
  • One SQL endpoint, so clients don't change
LakeOps Events screen with compaction, snapshot expiry, and orphan cleanup runs across tables

08 · Fewer jobs to run

No maintenance stack to build and babysit

Spark clusters, Airflow DAGs, cleanup scripts, and the monitoring around them all cost time and money. LakeOps replaces them with one control plane that maintains every table in scope, from the console, the REST API, or MCP.
  • No Spark clusters to provision or keep warm for maintenance
  • No per-table jobs to write as the lake grows
  • Every operation recorded in Events, however it started

Connect in minutes, with no lock-in

1

Connect catalogs & engines

LakeOps reads your Iceberg metadata. Data stays in your storage.

Apache Iceberg
AWS
Snowflake
DuckDB
2

Get visibility & insights

Every table's health and what it needs, from the first scan.

Health for every table
Optimization opportunities
Cost & performance insights
3

Choose your mode

Autopilot, on-demand runs, or your own policies.

Autopilot
Manual
Policies
4

Lakehouse optimized

Queries 12× faster
Cost down 76%
Engines optimized
Agents governed
Tables healthy
Fully governed
Sign upSet up in 10 minutes · Works with your existing stack

The challenge

Where Iceberg costs quietly grow

Without active maintenance, files fragment, history piles up, and every query and every gigabyte costs a little more each week.

Every query pays for bad layout

Small, unsorted files mean more files to open, more data to scan, and more CPU, on every engine that reads the table.

Storage nobody reads

Old snapshots pin files, failed writes leave orphans, and compaction leaves the small files behind until expiry and cleanup remove them.

Maintenance becomes its own bill

Spark clusters for compaction and cleanup cost money to run, and more to keep warm. Cron jobs also rewrite tables that didn't change.

The wrong engine for the query

Compute-priced and scan-priced engines bill differently. Sending a query to the wrong one can cost 2–5× more.

Compare

How teams control Iceberg costs today

Scripts cost a cluster to run, and managed optimizers stop at their own platform. LakeOps cuts query, storage, and maintenance cost across your catalogs.

CapabilitySpark jobs + cronManaged optimizers (Glue, S3 Tables)LakeOps
Query computeOnly as good as the layout you scriptBinpack, sort, or z-order on the table's sort orderCompaction sorted by the columns your queries filter, join, and group on
Storage cleanupexpire_snapshots and remove_orphan_files jobs you scheduleSnapshot retention and unreferenced file removal, per platformSnapshot expiry, orphan cleanup, and dangling deletes across your catalogs
Cost to maintainSpark cluster compute, plus idle clustersDPU-hours, or per object and per GB processedAbout 90% less compute than Spark, with no cluster to run
Unchanged tablesRewritten on every scheduled runSkipped below the platform's thresholdsSkipped until their signals say an operation is due
Seeing the savingsDashboards you buildRun metrics per optimizerStorage reclaimed and its estimated monthly saving on the dashboard
Engine costEach app picks one engineNot coveredOptional routing that sends each query shape to the pricing model that fits

Benchmark: binpack compaction of a 200 GB, 600M-row Parquet table. AWS Glue and Amazon S3 Tables details are from public AWS documentation, November 2026. Routing figures from QueryFlux's routing tests.

Results

Cut costs and boost performance

Benchmarks from production-grade tables across multiple engines and clouds.

Query speed

12×faster

After compaction + layout optimization

CPU reduction

76%less compute

Compute hours across all engines

Storage saved

56%reclaimed

Orphans, snapshots & bloat removed

Table health

100%healthy

Autonomous maintenance keeps every table optimized

TPC-DS benchmark suiteProduction Iceberg tablesMulti-cloud, multi-engine

See it in action

Watch how LakeOps cuts lakehouse costs

Compaction, cleanup, and maintenance on a cheaper engine, in practice.

Watch demoYouTube ↗

FAQ

Iceberg cost optimization, answered

Where do Iceberg lakehouse costs come from?

Four places: query compute, because poorly laid-out files make every engine scan more; storage, because old snapshots, orphan files, and leftover small files keep billing; maintenance compute, usually Spark clusters for compaction and cleanup; and the wrong engine for a query's shape.

How does compaction cut query costs?

It merges small files into fewer, larger ones and sorts them by the columns queries filter on. Engines open fewer files and skip more data: on a typical table, 970 files become 87, with 62% fewer S3 GET requests, 51% less data scanned, and up to 76% less query CPU.

How much storage can cleanup reclaim?

It depends on how long snapshots have been kept and how many writes have failed. Orphan sweeps routinely reclaim 20–40% of lake storage, and with old snapshots and stale files included, LakeOps has reclaimed 56%. Expiry and cleanup delete files rather than rewrite them, so they cost little compute.

Is LakeOps maintenance cheaper than running Spark?

Yes. Compaction runs on a Rust engine on Apache DataFusion, on LakeOps-managed compute: in a 200 GB benchmark it finished in 221 seconds versus 1,612 for Spark, about 95% faster and at about 90% lower compute cost. And tables that haven't changed aren't rewritten at all.

Does expiring snapshots lose history I need?

No. Expiry only removes snapshots past the retention you set, and never one that a tag or branch references. A Create Tags policy can keep, for example, an end-of-day snapshot for 30 days.

How do I see what LakeOps saved?

The dashboard shows storage reclaimed over the last 30 days with an estimated monthly saving at S3 Standard pricing, plus data optimized and the file count reduction from compaction. Operations Monitoring adds space freed over 24 hours to 30 days.

Can query routing lower costs too?

Yes, optionally. LakeOps query routing, built on open-source QueryFlux, sends each query shape to the engine whose pricing fits it. In QueryFlux's routing tests, a mismatched engine cost 2–5× more, and matching shapes to engines cut a representative suite's cost by up to about 56%.

Connect a catalog. See where your lake overspends.

Small files, old snapshots, and orphaned storage, found on the first scan.