Glossary · BigQuery
What is slot commitment?
A slot commitment (capacity commitment) is a purchase of BigQuery slots for 1 or 3 years at a discount to pay-as-you-go, in 50-slot increments. It covers the baseline slots of Enterprise and Enterprise Plus reservations, is billed for its whole term and cannot be cancelled early.
How slot commitments work
A commitment is bought in an administration project, for one region and one edition, with a plan of 1 year (365 days) or 3 years (1,095 days). The minimum is 50 slots, in steps of 50. Only Enterprise and Enterprise Plus can buy them; Standard edition has no commitments.
Committed slots are not tied to one reservation. They cover the baseline slots of every reservation of the same edition in that administration project and region, and committed slots not used as baseline are shared as idle slots. A commitment never covers autoscaled slots.
What you can change during the term:
- Renewal plan:
NONE,ANNUALorTHREE_YEAR, changeable until the end date. Commitments renew automatically unless set toNONE. - Convert to a longer plan at any time. The new rate applies at once and the end date resets.
- Split a commitment in 50-slot steps, or merge commitments with the same plan.
- Not possible: reducing it, moving it to another region or project, or upgrading its edition in place.
What a commitment does to the bill
Google's editions documentation lists the discount as 20% for a 1-year commitment and 40% for 3 years. The charge starts the second the purchase succeeds, is invoiced monthly and runs for the full term whether or not the slots are used. Purchases can stay pending for hours if BigQuery lacks capacity in the region.
Two gaps cost money. Baseline above the committed slot count is billed at pay-as-you-go: $0.06 per slot-hour on Enterprise in the US. And when a commitment expires without renewal, the reservations stay, so their baseline keeps billing at pay-as-you-go until you reduce or delete it.
Check commitment coverage in INFORMATION_SCHEMA
CAPACITY_COMMITMENTS lists commitments and RESERVATIONS lists baselines in the administration project. Comparing them per edition shows baseline that no commitment covers:
WITH committed AS (
SELECT edition, SUM(slot_count) AS committed_slots
FROM `region-us`.INFORMATION_SCHEMA.CAPACITY_COMMITMENTS
WHERE state = 'ACTIVE'
GROUP BY edition
),
baseline AS (
SELECT edition, SUM(slot_capacity) AS baseline_slots
FROM `region-us`.INFORMATION_SCHEMA.RESERVATIONS
GROUP BY edition
)
SELECT
edition,
IFNULL(committed_slots, 0) AS committed_slots,
IFNULL(baseline_slots, 0) AS baseline_slots,
GREATEST(IFNULL(baseline_slots, 0) - IFNULL(committed_slots, 0), 0) AS baseline_at_payg_rate,
GREATEST(IFNULL(committed_slots, 0) - IFNULL(baseline_slots, 0), 0) AS committed_not_in_baseline
FROM committed
FULL OUTER JOIN baseline USING (edition);
baseline_at_payg_rate costs full price every hour. committed_not_in_baseline is paid for and only useful when other reservations borrow it as idle slots. The view also shows each commitment's commitment_plan and renewal_plan, worth reviewing before an end date.
When to commit
Commit to the level of baseline you have run for months, not to a forecast. Measure baseline utilization first, keep the variable part on the autoscaler, and buy more commitments in later steps rather than one large purchase. The pricing calculator compares commitment, pay-as-you-go and on-demand costs, and BigQuery pricing lists the rates.
FAQ
Can I cancel a BigQuery slot commitment?
Not while it is active. You can change its renewal plan to NONE at any time before it ends, and it is deleted when it expires. A commitment bought by mistake is a case for Cloud Customer Care.
Do slot commitments apply to autoscaled slots?
No. Commitments cover baseline slots only. Autoscaled slots are always billed at the edition's pay-as-you-go rate, even when committed slots sit idle in another reservation's baseline.
Is a slot commitment the same as a committed use discount?
No. A slot commitment buys a number of slots for an edition in one region. Google's pricing page also lists BigQuery committed use discounts as a separate purchase option; see committed use discount.
