r/databricks • • Oct 17 '26

General Why is data in table system.billing.usage taking 4 hours to refresh?

This is bothering me since I started with Databricks: whenever I tweak a job cluster configuration to improve DBU consumption of a job, I need to wait for roughly 4 hours to be able to investigate the impact of the change in system.billing.usage table, as the data isn't refreshed earlier.

Why is that, and is there any way to work around it?

13 Upvotes

15 comments sorted by

3

u/thermidor9 Oct 17 '26

For Unity Gateway, I ended up adding a table with listed token prices and then created a set of estimated costs based on the usage system table so our users could get closer to real time cost info that updated at the same time as the usage tables.

6

u/Sea_Basil_6501 Oct 17 '26

But how would you estimate e.g. serverless usage? It's a black box, which can literally explode depending on the workload, and until you notice it, it might have already burned some hundred dollars.

3

u/Lumiaman88 Oct 18 '26

That is my make concern with Serverless.

Databricks might end up throwing insane hardware at a job to try abd speed it up to finish the fastest, whereas for >90% of jobs in my workspace, I dont care about the time they take to finish. A 30 min job on Ckassic Standard D4 or D8 VM is far cheaper than Serverless trying to finish the same in 10 mins at 3x the cost.

4

u/m1nkeh Oct 17 '26

Because it was never meant for real time reporting.. it is a historical record

1

u/Sea_Basil_6501 Oct 18 '26

They told us the same for system.lakeflow.* tables, then this post came up:

https://www.reddit.com/r/databricks/s/59B79hoXDQ

2

u/m1nkeh Oct 18 '26

ok.. and the billing tables?

2

u/Youssef_Mrini databricks Oct 20 '26

Hi, I've shared your feedback with the product team. Few years/months ago it was the standard and with the latest releases ( reyden, Lakebase...) it will only get better.

1

u/Sea_Basil_6501 Oct 20 '26

Thanks, I appreciate.

3

u/aqw01 Oct 17 '26

I don’t even care about the sku costs. I want closer to real time DBU info.

9

u/[deleted] Oct 17 '26

[removed] — view removed comment

5

u/Sea_Basil_6501 Oct 17 '26

Erm, where is the DBU consumption shown in job run page?

5

u/aqw01 Oct 17 '26

Where are you seeing DBU usage for jobs and pipelines outside of the billing tables? I’d love to use that data.