At a glance
A dual-axis chart that plots Databricks DBU burn against ecommerce order volume over the trailing 7 days. The premise is simple: if your Databricks compute exists to serve the business, then the cost of that compute should rise and fall roughly in step with how much business is flowing through. When DBU burn climbs while orders stay flat, you are paying more to process the same amount of work, which is the signature of an inefficient or runaway pipeline. This card is the cost-efficiency conscience of the platform team.
Calculation
The card builds two aligned daily time series over the trailing 7 days. The Databricks series is total DBU burned per day. The engine reads billable usage records (the account billable usage data, equivalent to thesystem.billing.usage system table) and sums usage_quantity in DBU across all SKUs (jobs compute, SQL warehouse, all-purpose interactive, DLT) per calendar day in your reporting time zone. This is the same figure that underpins the DBU Burned (24h) card, just bucketed over a week.
The ecommerce series is order count per day, pulled from whichever storefront connector is linked (Shopify, BigCommerce or Adobe Commerce), counting paid or placed orders per day over the same buckets and time zone.
The divergence test compares this week’s DBU total to the prior week (week-over-week, WoW). If DBU is up 50% or more while order volume is flat (within its normal week-over-week band, typically plus or minus 15%), the card raises the cost-efficiency flag. The point is not the absolute DBU number; it is the broken correlation. Compute that grows faster than the business it serves is, by definition, getting less efficient per order.
Worked example
A mid-market homeware retailer runs its analytics lakehouse on Databricks: nightly ETL jobs build the sales and inventory marts, a DLT pipeline streams clickstream events, and a SQL warehouse serves the merchandising dashboards. The platform team reviews this card every Monday. Reading taken on Monday 15 Jun 26, covering the trailing 7 days.
The order line is almost perfectly flat: the storefront is doing its usual 4,000 to 4,300 orders a day. The DBU line, however, more than doubles from Wednesday to Sunday. Week-over-week the DBU total is up 61% (from roughly 8,300 the prior week to 13,445 this week) while orders are within 2%. The alert fires.
- The order line is the control. DBU burn on its own is just a cost number that always looks scary. Plotted against flat orders, it becomes a diagnosis: you are paying more for the same output. Always read the ratio, not the raw burn.
- Divergence has a date. The DBU line bent on a specific day. That day is almost always a deploy, a schema change, a new pipeline, or an auto-scaling config edit. Use it to narrow the change set rather than auditing everything.
- Cost runaway is usually a correctness bug. Reprocessing all history, a missing partition filter, a cartesian join, a cluster that never auto-terminates: the expensive ones are bugs that also waste money. Fixing the efficiency usually fixes a latent data-quality risk too.
Sibling cards
Reconciling against the source
Where to look in Databricks for the DBU side:Account Console → Usage for the billable usage dashboard with DBU broken down by SKU, workspace and day.Where to look for the ecom side:system.billing.usage(Unity Catalog system table) for the authoritative per-record usage data; sumusage_quantitygrouped byusage_dateto rebuild the left axis exactly.system.billing.list_pricesif you want to convert DBU to currency to match a finance figure.
The order count comes from the connected storefront’s own reporting (Shopify Analytics, BigCommerce Analytics, or Adobe Commerce reports). Match the same daily buckets and time zone.Why our number may legitimately differ:
Cross-connector reconciliation:
Known limitations / FAQs
DBU burn went up but so did orders, and the card did not flag. Is that right? Yes. The card only flags divergence: DBU rising while orders stay flat. If both rise together, your compute is scaling with the business, which is exactly what you want. The cost is going up but the cost per order is holding. Watch the DBU-per-1,000-orders ratio in the worked example: as long as that ratio is stable, growth in absolute burn is healthy. Why 50% week-over-week and not a fixed DBU number? A fixed DBU threshold would fire constantly for large workspaces and never for small ones. Week-over-week percentage normalises across workspace size and naturally accounts for seasonality in your own baseline. You can tune the threshold per profile in the Alert Rules tab if your workload is spiky by design (for example, weekly full rebuilds). Our DBU genuinely spikes every Sunday for a weekly rebuild. How do we stop false alerts? Compare like with like. The WoW logic already compares this Sunday to last Sunday, so a regular weekly rebuild should not trip it. If it still does, the rebuild is growing faster than your data, which is itself worth knowing. For predictable batch spikes, raise the per-profile threshold or scope the alert to exclude the known rebuild job. The most recent day shows lower DBU than expected. Bug? Almost always billing lag. Billable usage records can take a few hours to fully land insystem.billing.usage, so the current day is often incomplete until the feed settles. Judge the divergence on complete days; the final day fills in over the following hours.
Can DBU divergence be caused by something other than a bad pipeline?
Yes, several benign causes: a cluster left running over a weekend (see Idle Cluster DBU Wasted), a backfill or one-off reprocessing job, a new dashboard driving heavy interactive SQL, or a Photon or instance-type change that altered the DBU rate. The card flags the divergence; Avg DBU per Job Run and DBU by Cluster (7d) tell you which.
Does this card convert DBU to currency?
No, the chart is in raw DBU because DBU rates vary by SKU, cloud, commit tier and region. To estimate cost, multiply DBU by your effective rate, or join system.billing.usage to system.billing.list_prices in Databricks for the exact figure. Keeping the card in DBU avoids a currency conversion that would drift from your actual contract pricing.