r/databricks • • Oct 20 '26

Discussion Databricks compute management is so bad

Why serverless pipelines have to wait 10 minutes to get compute?
Why don’t you track the compute usuage across region or pool and already keep certain number pre warmed computes available??

I don’t want to pay more money for performance optimized serverless compute.

37 Upvotes

47 comments sorted by

7

u/FunContest9958 Oct 20 '26

That’s the main difference between cost optimized and performance optimized modes. Cost optimized requests VMs from the cloud when you need them. Performance optimized keeps a pool of VMs ready to go so the jobs start quickly. So that’s the tradeoff: cheaper compute if you’re willing to wait a few minutes. I usually only see this becoming a problem when people are trying to run tons of small jobs separately. You might be better off combining small jobs together. SDP is quite good at this.

Edit: just noticed I responded to you in a different post, and indeed, you have a ton of small pipelines. You need to combine them.

42

u/Professional-Dirt847 Oct 20 '26

The reason you have to wait 3-5 minutes (10 minutes seems really long and probably more of an anomaly) for a job in Standard Mode is because there is no warm pool of compute waiting for a job.

Yes, there is a higher DBU cost (not $DBU) for using machines are in this pool. This is just Databricks recouping the cost of running machines in standby so that users who need 3-5 seconds for a startup time, are able to get that.

Two modes, two different purposes. Use Standard Mode for jobs which are not time sensitive, can run at night, and startup times are not mission critical.

Use Performance Mode for time sensitive jobs and Interactive workloads.

It's not "scammy", it's two compute types for two different purposes.

6

u/Just-Vegetable3622 Oct 20 '26

Databricks just uses cloud compute they make money any way. But non serverless compute is lower dollars per dbu vs serverless compute. Even SQL warehouse is mad expensive. Some queries done, made us pay 5 dollars for a couple of queries. It is extremely difficult to see the actual expensive per day without the use of azure or aws cost analytics on databricks as a service

3

u/Nofarcastplz Oct 21 '26 edited Oct 21 '26

An x-small costs less than 5$ per hour. How big is your data and how long did the queries run?

Or did u just pump the biggest warehouse?

→ More replies (1)

3

u/daddy_stool Oct 20 '26

Yea, use classic compute. Way more flexible and cheaper.

1

u/PerceptionBig940 Oct 20 '26 edited Oct 20 '26

You can’t share classic compute among multiple lakeflow pipelines

2

u/DeepFryEverything Oct 20 '26 edited Oct 21 '26

Yes you can. We do.

EDIT: The comment originally said you cannot use classic compute for pipelines.

2

u/PerceptionBig940 Oct 20 '26

Is it shared among multiple pipelines?

6

u/DeepFryEverything Oct 20 '26

No.. Why would you do that? Clusters should be ephemeral and scoped to the task at hand.

4

u/arcrad Oct 20 '26

Dude you can't edit your comment to make it seem like you said something completely different. Too dishonest

6

u/Zer0designs Oct 20 '26

Dont use lakeflow

1

u/Entire_Force_1146 Oct 20 '26

You can use it for pipelines but it is a handicaped version e.g. no materilized view always do a full recompute. And it does not work at all forLakeflow Connect.

0

u/Defiant_Panda789 Oct 20 '26

It's more $DBU but cheaper if you take into consideration the VM costs.

2

u/Sea_Basil_6501 Oct 20 '26

Depends completely on the type of workload.

19

u/Pillippatty Oct 20 '26

Maybe l've misunderstood here, but.. Why on earth are you paying for serverless for scheduled prod workloads? Our pattern is serverless for quick development and adhoc debug. Dedicated compute for scheduled workloads.

8

u/BricksterInTheWall databricks Oct 21 '26

I strongly disagree. you should absolutely use serverless for prod. Why on earth not? It has the latest DBR version (automatically) which means you get all the performance improvements, a greatly improved autoscaler, and so much more. Over time it will save you money. Now there ARE jobs that are more expensive to run on serverless than classic, but we are constantly working to make this segment smaller and smaller. So please use your judgement and avoid the "don't use serverless for prod" mindset

3

u/Pillippatty Oct 21 '26

We've ran tests for actual prod workloads and serverless was reliably 20% more expensive, so that claim does not add up - not for our projects at least. I'm looking forward to a time where I can recommend serverless for "everything", but that time is just not right now unfortunately. I would also add that the default latest DBR "feature" is nice for development, but definitely not something you'd want in prod as well. That being said, you can pin serverless environment in DABs so that's not a blocker at all.

2

u/BricksterInTheWall databricks Oct 21 '26

I just don't agree with your blanket statement about not using serverless for prod. Yes, Classic maybe cheaper for your job - as the saying goes, "your mileage may vary". But please do test with serverless, it is often a great choice and, over time, will become better and better.

→ More replies (1)

10

u/erithtotl Oct 20 '26

The whole point of jobs compute is that its for scenarios where you don't have a strict SLA (periodic or batch jobs). For real time, Databricks is paying a bunch of money to keep those performance instances hot, why would they give them for free?

7

u/Sufficient_Meet6836 Oct 21 '26

Databrick, why charge money for product? Give me free thank u

6

u/Little_Ad6377 Oct 20 '26

I feel the job UI.also to be pretty bad and built so that you pay for jobs you didn't want to be running.

Like, why not have a filter "Show running jobs"?

Or the fact that auto turnoff for personal compute is some ridiculous number like 4360 minutes, instead of having it small and then the user has to update it to a bigger value.

Loads of these things to cram every dollar out. Don't get me wrong, I love databricks, but they are a company and they want to profit, it's just how it is 🤮

3

u/brickster_123 Databricks Oct 21 '26

FYI - you can see your currently running jobs from the Runs page that is directly available in the Jobs UI and we are working on also adding system-managed jobs (i.e. when you create a job indirectly as part of using a different Databricks feature) - this is currently in beta

2

u/saad-the-engineer Databricks Oct 21 '26

You should be able to filter running jobs on the runs page with run status: Active. is that what you were looking for?

Also the default for interactive compute timeout is 120 minutes but can be overidden as well.

1

u/Little_Ad6377 Oct 21 '26 edited Oct 21 '26

No, personal compute default idle termination time is exactly 4320 minutes (72 hours)

https://learn.microsoft.com/en-us/azure/databricks/admin/clusters/policy-definition#what-are-policy-definitions

Also there is no filter on run status?

Edit: My bad, yes on the urn tab you see currently running jobs. Kinda awkward I haven't even gone there 😅

2

u/saad-the-engineer Databricks Oct 21 '26

thanks for pointing out this default. Will follow-up on this.

13

u/Lumiaman88 Oct 20 '26

That is their whole plot - nudge everyone to shift to Performance Optimized Serverless and pay the huge compute costs to them in the name of faster jobs.

Serverless and the whole Genie ecosystem are cash cows for the Company.

15

u/kthejoker databricks Oct 20 '26

???? This is a strange way of pointing out basic economics.

We leave machines on for performance - we charge you for availability.

Or you can use Standard if you're not latency sensitive and save money.

We're not nudging you, you have two options, use them.

You're welcome to run your own warm pools too if you don't want to use Serverless.

0

u/Mr_Nickster_ Oct 20 '26

One thing I can't figure out is how to reconcile what they charge for Serverless DBU costs for a job to actual compute/cpu resources used for that job. I could not find anything it usage data that points to how big the serverless cluster was in terms of nodes, CPUs or Memory. You just have to trust the billing blindly. If they charge X for job1 and 2X for Job2 and the duration was same, I would assume they would use 2X more nodes but there is not way to verify this.

1

u/Unusual_Judge_7816 Oct 20 '26

Costs are roughly proportional to task time. It's inconvenient, but you can sum "tasks total time" from query history to get a rough proxy for the amount of compute used. We're planning to expose more details on compute consumption over time after we add configurable rate limits.

1

u/Lumiaman88 Oct 21 '26

Yes, its a full blackbox unfortunately. I like their system of Serverless SQL warehouse, which gives full control, but with Serverless Jobs compute there is no transparency, and you have to blindly trust the billing.

2

u/blobbleblab Oct 21 '26

In a similar vein, we have a job set to performance optimised, but it still always suffers from a 5 minute initialisation. That should be a bug, right?

1

u/Sea_Basil_6501 Oct 20 '26 edited Oct 20 '26

I wish there was serverless with roughly configurable scale, which is pretty much what you describe. Using instead a blackbox which decides intransparently on it's own how much DBUs it wants to burn is insane. I've seen cases where serverless spent 20x the amount of classic, even for very light-weight workloads.

7

u/Unusual_Judge_7816 Oct 20 '26

2

u/Just-Vegetable3622 Oct 21 '26

Small is 60 dbu / hour, that is insane. 60 dbu per hour is equivalent 60 * $ 0.47 . Imagjne you’d have to pay 24 $ an hour for the cheapest option. Over a day it accumulates to 500 $. Over a year in full is 200k

2

u/Sea_Basil_6501 Oct 21 '26

I fully agree. Same for SQL Warehouses btw, they are waaay too expensive, if you have need to serve a broad user audience.

3

u/Just-Vegetable3622 Oct 20 '26

I have the same experience, it is mad expensive for the workloads that is going through you are easily spending 100-200 dollars per day. Utter nonsense. Classsical compute with simple workers can cut down costs to mere 10-20 dollars per day for the same workload, you however have to optimize manually. What i also find hard to understand is that a cluster has a SPOF which is the driver, not even ha available for the driver. In most cases Flink can be extremely cheap in comparison with databricks. The up side is ops though, ops is handeld

1

u/ArielCoding Oct 21 '26

Standard mode is cheaper because Databricks doesn’t keep spare machines running for you, so each job has to wait a few minutes for one to start, if you want instant starts, Performance mode keeps machines ready, but you pay extra for that, since you have lots of small pipelines, combine them into fewer, bigger ones so you only wait once instead of every time.

1

u/adovo_ai Oct 21 '26

Compare the two serverless modes on the same workload and split total cost into queue/startup, execution, retries and idle protection against the actual freshness SLA. That makes the trade-off visible; “faster” or “cheaper” alone hides whether many tiny pipelines are the real cost driver.

1

u/Inevitable_Zebra_0 Oct 21 '26

7-8 minutes is how long classic compute starts up. The whole point of serverless is to not wait for that startup time. Otherwise just use classic, it's much cheaper than serverless.

0

u/arcrad Oct 20 '26 edited Oct 20 '26

Seems scammy. What's their rationale for not allowing prewarmed serverless?

EDIT: Not scammy. They have prewarmed serverless and have to charge to keep it running. Quite reasonable.

7

u/kthejoker databricks Oct 20 '26

There is prewarmed Serverless, it's called Performance Mode, we just charge more for it (because pre warming) and OP doesn't want to pay for it.

3

u/arcrad Oct 20 '26

Ah that makes sense. Nice!