Fabric Warehouse’s on-demand billing can queue one SQL query and reject another
The preview separates workspace concurrency from a rolling capacity-wide spend limit. SQL agents should treat the two outcomes differently.
Microsoft’s Fabric Data Warehouse documentation lists on-demand billing in preview. A capacity admin can enable it so warehouse and SQL analytics endpoint compute is metered separately from the base capacity. Other workloads, such as Power BI and pipelines, can stay on shared capacity. Microsoft’s FAQ lists a rate of 1.3× the standard pay-as-you-go rate for shared-capacity warehouse compute, applied to CU-hours consumed, not to unused headroom. For teams running automated SQL, the preview also changes what happens when a query runs up against a compute limit.
One limit queues work; the other rejects it
The warehouse documentation describes two controls with different units. A workspace ceiling, measured in concurrent capacity units (CUs), limits how much compute that workspace can use at once. When the ceiling is occupied, queries can queue until resources free up. The FAQ describes a separate error case: Fabric tries to shrink the query plan to fit the ceiling and rejects it if it still cannot fit.
The second control is a rolling 24-hour limit measured in CU-hours. It applies across the capacity’s on-demand Data Warehouse workspaces, not separately to each workspace. When that limit is exhausted, Fabric rejects new warehouse queries until enough consumption falls out of the rolling window. It does not reset at midnight. Giving an agent its own workspace can isolate concurrent compute, but it does not reserve a separate CU-hour budget for that agent.
Test the two failure modes separately
For a SQL agent rollout, test what the user sees when an existing submission is waiting for workspace resources, then test how the client handles a rejected submission. A queued query is not evidence that the generated SQL was wrong; submitting another copy is not a substitute for waiting within the application’s deadline. A spend-limit rejection is a different condition: report that the warehouse budget is exhausted rather than rewriting the SQL or retrying immediately. Test a query that cannot fit under the workspace ceiling separately from both cases.
Microsoft points administrators to the Capacity Metrics app and warehouse diagnostics. Start by comparing agent latency and query outcomes with warehouse consumption there. Raising a workspace ceiling may reduce local queueing, but it can also let the workspace use the shared 24-hour allowance faster. The preview gives operators two controls, not two independent budgets.
sources
- Microsoft Learn: On-demand billing for Fabric Data Warehouselearn.microsoft.com
- Microsoft Learn: On-demand billing FAQlearn.microsoft.com
comments · 0