Yeedu Hits $0.52/TB in TPC-DS Benchmark
Yeedu
HomeCase StudiesHow a Large US Health Insurer Cut Databricks Costs by 87%
Customer Success Story

How a Large US Health Insurer Cut Databricks Costs by 87%

A large US health insurer runs 300+ daily ETL jobs on Yeedu across Azure and Google Cloud at 87% lower cost than Databricks, and ran a 4,609-line Spark SQL process 86.7% cheaper than Photon with under 1% of the SQL changed.

Industry

Health Insurance

Cloud

Azure, Google Cloud

Workloads

Daily ETL (300+ Jobs), Recurring Spark SQL

Data Volume

1.68B Rows in the SQL Process

87%

Lower Cost vs Databricks

300+

Daily ETL Jobs in Production

17.5%

Faster than Databricks Photon

How a Large US Health Insurer Cut Databricks Costs by 87%

At a Glance

A large US health insurer runs Spark on Databricks across Azure and Google Cloud, and it has put Yeedu up against Databricks in two ways. Its fleet of more than 300 daily ETL jobs now runs in production on Yeedu at 87% lower cost. Separately, the insurer ran one of its recurring Spark SQL processes, 4,609 lines over 1.68 billion rows, on both platforms side by side. The cheapest Yeedu configuration cost 86.7% less than Databricks with Photon, and a larger one finished 17.5% faster while still costing 71.6% less. Only 30 lines of SQL changed.

300+ daily ETL jobs 4,609-line Spark SQL process
Where it runs Azure and Google Cloud, in production Azure, side by side on both platforms
On Databricks Per-DBU billing, a cluster spun up per run All-Purpose Compute with Photon, 2–8 nodes of 32 cores
On Yeedu Fixed-price license, short jobs packed onto shared compute One fixed node, run at 72, 104 and 112 cores
Run time Same daily schedule Up to 17.5% faster
Code changed Minimal 30 of 4,609 lines, under 1%
Cost on Yeedu 87% lower 65.9% to 86.7% lower

The same insurer also ran 20 production data-warehouse jobs on both Google Cloud's managed Spark service and Yeedu. That comparison is in a separate case study.

The ETL Fleet: 300 Small Bills a Day

Every ETL job carried its own Databricks DBU charge, and at 300+ runs a day those charges compounded into one of the largest lines in the insurer's data-platform budget. That's more than 9,000 job runs a month, each one metered separately.

The jobs themselves were ordinary lakehouse work. They pull data in, clean and conform it, then land it in tables that analysts and downstream applications read. Most of them are short. Short jobs are where per-run billing hurts most, because each run pays for cluster start-up and idle capacity on top of the work it actually does, and with hundreds of runs a day that overhead stops being a rounding error.

Two clouds doubled the operating surface.

The lakehouse spans Azure and Google Cloud, so the platform team managed workspaces, cluster settings and cost reports in two places. A tuning change made on one cloud didn't carry over to the other by itself.

For a health insurer, where the data runs matters as much as what it costs. Any new execution layer had to run inside the insurer's own cloud accounts.

How Yeedu Cut the Cost of a 300-Job Fleet

Yeedu cut the fleet's cost through three changes that compound: a fixed-price license in place of per-DBU metering, shared compute for short jobs, and a faster Spark execution engine underneath the same code. Each one removes a different part of the old bill.

Diagram of how the 300-plus daily ETL jobs ran. Before, on Databricks: a cluster spun up for every job run, so each run paid for start-up and idle capacity plus a per-DBU charge, across more than 9,000 runs a month. On Yeedu, under a fixed license: short jobs packed into one long-lived Spark session that shares a cache served from memory, with Smart Scheduling and the Turbo engine underneath. Runs on Azure and Google Cloud inside the insurer's own VPCs, with minimal code change.
The ETL fleet before and on Yeedu: short jobs share one long-lived Spark session under a fixed license, on both clouds.

Fixed-Price Licensing

Yeedu bills a fixed license with unlimited usage, so the 301st job of the day costs nothing extra. On a consumption platform the same job adds DBUs. For a fleet that grows every quarter, that turns ETL growth from a budget risk into a capacity question, and finance gets a number it can plan around.

Shared Compute for Short Jobs

Spinning up a cluster for every short job means paying for start-up and idle cores hundreds of times a day. Yeedu's spark-submit multiplexing runs many jobs inside one long-lived Spark session, and data one job caches is served to the next from memory instead of being read again from object storage. Smart Scheduling fills the CPU windows that sit idle while tasks wait on reads and writes. Yeedu reports 2–4× higher cluster efficiency from Smart Scheduling on ingestion and ELT work, which is most of what this fleet does.

A Faster Engine Under the Same Code

Yeedu's Turbo engine is a C++ execution layer that keeps Spark compatibility. It runs vectorized, uses the SIMD instructions in modern CPUs and keeps hot data in L2 and L3 cache. Yeedu reports 4–10× faster execution on CPU-bound stages such as joins, aggregations and multi-stage transforms, and multi-threaded execution keeps every core working on the rest of the job.

Running on Azure and Google Cloud at Once

Yeedu runs natively on both clouds, inside the customer's own VPCs, so the lakehouse kept its two-cloud layout. Nothing had to be consolidated onto one provider to get the savings, and the data stayed in accounts the insurer already controls and audits. Yeedu lists ISO 27001, SOC 2, HIPAA and GDPR compliance, which matters to a security review in this sector.

It also gave the team one compute management plane across both clouds. A director at the insurer described the effect:

"With its cloud-agnostic compute management plane, Yeedu enables us to scale our computational tasks to the required dimensions efficiently, optimizing our cloud compute costs more effectively than other tools on the market, while consistently maintaining high performance standards."

Director, Large US Health Insurer

The SQL Process: 4,609 Lines, Side by Side with Photon

The second piece of evidence is a single job, measured closely. It's a recurring data-model process that runs on a fixed schedule. It reads 54 source tables, stored as Delta Lake and Parquet on Azure Data Lake Storage Gen2, holding 1,679,483,205 rows between them. The transformation logic is 4,609 lines of SQL.

On Databricks it ran on All-Purpose Compute with Photon: a Standard_DS3_v2 driver and Standard_E32d_v4 workers, autoscaling up to 8 nodes, with each run taking about 1.7 hours.

It's a useful comparison because it's representative. Large joins and aggregations over more than a billion rows, on a schedule, are what most enterprise Spark estates spend their money on.

The team didn't set out to prove one headline figure. The goal was to find the Yeedu configuration that fit this job best, so they ran the same SQL on the same 54 tables on three sizes of single-node cluster, against the same Databricks baseline, and compared both cost and time.

Azure Databricks Yeedu, 72 cores Yeedu, 104 cores Yeedu, 112 cores
Compute All-Purpose Compute with Photon, 32-core / 256 GB nodes, 2–8 nodes 1 node, 72 cores, 144 GB 1 node, 104 cores, 672 GB 1 node, 112 cores, 672 GB
Run time 6,884 s 7,468 s (+8.5%) 5,683 s (17.5% faster) 5,940 s (13.7% faster)
Cost a year, weekly runs $4,297 $572 $1,222 $1,465
Cost a year, monthly runs $992 $132 $282 $338
Saving Baseline 86.7% 71.6% 65.9%

That turned up a real choice.

The Lowest-Cost Option

On a single 72-core node with 144 GB of memory, the job finished in 7,468 seconds, 8.5% slower than Databricks, at 86.7% lower cost. For a job that runs weekly and has hours of slack in its window, that's the configuration to pick: $572 a year against $4,297.

The Fastest Option

On a single 104-core node with 672 GB, the job finished in 5,683 seconds, 17.5% faster than Databricks, and still cost 71.6% less. A 112-core node landed between the two, 13.7% faster at 65.9% lower cost.

So the team could buy back time or cost with the same code. Both options sat well below the Databricks bill.

How One Node Ran the Same SQL for Less

Yeedu got this job's cost down by running it on one well-sized machine instead of an autoscaling cluster, and by doing more work per core.

Diagram comparing the compute behind the same SQL process. On Azure Databricks: All-Purpose Compute with Photon, a DS3_v2 driver and E32d_v4 workers of 32 cores and 256 GB each, starting at 2 nodes and scaling up to 8 during the run. On Yeedu: one fixed node per run, sized at 72 cores with 144 GB, 104 cores with 672 GB and 112 cores with 672 GB, with no driver-plus-workers layout, no scale-up and no shuffle between machines.
Databricks scaled a 2–8 node cluster during each run; Yeedu ran the same SQL on one fixed node, at three sizes.

One Node Instead of an Autoscaling Cluster

Every Yeedu run used a fixed single node. There's no driver-plus-workers layout to pay for, no scale-up while the cluster warms, and no shuffle traffic between machines for the joins. The Databricks baseline, by contrast, scaled between 2 and 8 nodes of 32 cores each during the run.

More Work per Core

This job is mostly joins and aggregations, the CPU-bound stages where the Turbo engine described above does its best work. Its vectorized execution and query-plan rewrites let one machine get through the SQL that Databricks spread across up to 8 nodes.

What Changed in the SQL

30 lines out of 4,609, under 1%. Every change came from how Delta Lake behaves outside Databricks, not from Yeedu itself. Three patterns accounted for them:

Infographic of the SQL changes. A strip representing 4,609 lines of SQL with 30 changed lines marked, under 1% of the code, all for open-source Delta Lake syntax. The three patterns: TRUNCATE statements were rewritten; DELETE or UPDATE with a subquery, such as UPDATE foo SET a = 1 WHERE bar = (SELECT 1), was rewritten; and INSERT INTO foo WITH cte AS (SELECT 1) SELECT * FROM cte became WITH cte AS (SELECT 1) INSERT INTO foo SELECT * FROM cte. The parallel runs also exposed an ordering bug, where rows tied on ORDER BY col1, col2 came back in a different order on each run.
Only 30 of 4,609 lines changed, in three open-source Delta Lake patterns, and the parallel runs exposed a non-deterministic ORDER BY.
  • TRUNCATE statements. TRUNCATE foo isn't supported in open-source Delta Lake, so those statements were rewritten.
  • DELETE or UPDATE with a subquery. Statements such as UPDATE foo SET a = 1 WHERE bar = (SELECT 1) needed rewriting.
  • CTE placement. INSERT INTO foo WITH cte AS (SELECT 1) SELECT * FROM cte had to become WITH cte AS (SELECT 1) INSERT INTO foo SELECT * FROM cte.

A Bug the Side-by-Side Runs Turned Up

The side-by-side runs also exposed a logic problem in the existing SQL. Several queries ordered rows by columns that weren't unique, for example ORDER BY col1, col2 where three rows shared the same col1 and col2 values. Spark runs in parallel partitions, so which of those rows comes first can change between runs, and the same code returned different results from one run to the next on any engine. Finding it meant the team could fix it, which is a useful side effect of running a job twice on two platforms.

The Results

Both pieces of evidence point the same way: this insurer's Databricks work costs far less on Yeedu, with the code largely unchanged.

  • 87% lower cost across the 300+ job daily ETL fleet, in production on Azure and Google Cloud
  • 86.7% lower cost on the 4,609-line SQL process on a 72-core node: $4,297 a year down to $572 at weekly runs
  • 17.5% faster and 71.6% cheaper than Databricks with Photon on a 104-core node
  • A predictable monthly price for hundreds of ETL jobs, in place of per-run DBU charges
  • Minimal code change across the fleet, and 30 of 4,609 lines in the SQL process
  • A non-deterministic ordering bug found in the existing SQL

Both cost figures sit above Yeedu's general guidance of up to 60% lower compute cost, for reasons specific to how these jobs ran on Databricks. The ETL fleet is hundreds of short, separately metered runs, so a fixed license and shared compute removed the per-run overhead along with the DBUs. The SQL process ran on All-Purpose Compute, which carries one of the higher DBU rates, across an autoscaling multi-node cluster where Yeedu used one machine. Workloads made of a few long jobs, or jobs already on cheaper job clusters, should expect a smaller gap, so it's worth modeling your own job mix before assuming any of these figures.

Choosing Where Each Job Runs

The recommendation after the SQL comparison wasn't to run everything on Yeedu. It was a decision tree, built with the insurer's platform team, for which jobs suit Yeedu and which stay on Databricks. Long, recurring, CPU-heavy SQL like this process is a strong fit, and so is a fleet of short daily jobs billed per run. Because the code stays the same, a job can run on Yeedu and go back to Databricks without a rewrite, which keeps each per-job decision cheap to revisit.

Adoption Effort

The 300+ ETL jobs reached Yeedu with minimal code change, because Yeedu executes standard Spark. The SQL process put a number on it: 30 lines out of 4,609, all for open-source Delta Lake syntax. The unit of adoption is a job. Each one can be pointed at Yeedu and validated on its own while the catalog, dashboards and orchestration stay where they are, which kept risk low for a fleet that feeds a production lakehouse every day.

  • Minimal code change across 300+ ETL jobs
  • Under 1% of the SQL changed in the side-by-side comparison
  • Azure and Google Cloud supported natively, no consolidation
  • Delta Lake and Parquet tables on ADLS Gen2 read in place
  • ETL fleet live in production

Conclusion

Two very different Databricks workloads at the same insurer, a fleet of short daily ETL jobs and one long recurring SQL process, both came out far cheaper on Yeedu, and neither needed a rewrite.

  • 87% lower cost than Databricks across 300+ daily ETL jobs
  • 86.7% lower cost than Databricks with Photon on a 4,609-line SQL process, or 17.5% faster at 71.6% lower cost
  • Fixed-price licensing removed per-run DBU charges
  • Multiplexing, Smart Scheduling and the Turbo engine got more work out of less compute
  • Runs in the insurer's own VPCs on Azure and Google Cloud

The insurer's Google Cloud warehouse comparison is in a separate case study. To size the same change for your own jobs, write to sales@yeedu.com.

Frequently Asked Questions

How did a health insurer cut its Databricks costs by 87%?

It ran its 300+ daily ETL jobs on Yeedu, which bills a fixed license in place of per-DBU charges, packs short jobs onto shared compute through multiplexing and Smart Scheduling, and speeds up CPU-bound stages with its Turbo engine. The 87% compares the same fleet's cost on Yeedu against Databricks. A separate side-by-side comparison on one 4,609-line SQL process came out 86.7% cheaper than Databricks with Photon.

What is per-DBU billing, and why does it hurt short ETL jobs?

A DBU (Databricks Unit) is the unit Databricks uses to meter compute, charged for every run on top of the cloud instances underneath. Short jobs pay that meter for cluster start-up and idle time as well as for real work, so a fleet of hundreds of short daily jobs pays the overhead hundreds of times a day.

Was Yeedu faster than Databricks with Photon?

On two of the three Yeedu node sizes, yes. The 104-core node finished 17.5% faster and the 112-core node 13.7% faster. The 72-core node was 8.5% slower but the cheapest by far, at 86.7% lower cost.

How much code had to change?

Very little. The ETL jobs came across with minimal code change, and in the SQL process 30 lines out of 4,609 changed, under 1%. Those changes covered TRUNCATE, DELETE and UPDATE with subqueries, and the position of CTEs in INSERT statements, which open-source Delta Lake handles differently from Databricks.

Does Yeedu run on Azure and Google Cloud inside our own accounts?

Yes. Yeedu runs natively on AWS, Azure, Google Cloud and Oracle Cloud, plus on-premises servers, inside the customer's own accounts. This insurer runs its ETL fleet on Azure and Google Cloud from one compute management plane, and on Yeedu the SQL process read its Delta Lake and Parquet tables on ADLS Gen2 in place. Yeedu lists ISO 27001, SOC 2, HIPAA and GDPR compliance.

Why would the same Spark query return different results on each run?

When a query sorts by columns that aren't unique, Spark can return tied rows in any order, because the data is processed in parallel partitions. That's a property of the query, not the engine. Sorting on a unique key makes the result repeatable.

Will every Databricks workload see an 87% saving?

No. The figures here reflect many short, separately metered jobs and a job on high-rate All-Purpose Compute, where Yeedu removes the most overhead. Yeedu's general guidance is up to 60% lower compute cost, with 4–10× faster execution on CPU-bound work, and the right number for any estate depends on its job mix.

How is Yeedu priced?

Yeedu uses fixed pricing with unlimited usage: no per-core, per-hour or per-job charge. Plans start at $2,000 per month.

Keep a copy of this case study

Get the PDF by email, with the numbers, the setup and the code changes in one file.

Join our Insider Circle

Get exclusive content crafted for engineers, architects, and data leaders building the next generation of platforms.

No spam. Just high-value intel.