🪟 Windows TippsMichael Linden wechselt zu Coda Audio Deutschland(15.09.2026 um 18:14 Uhr)
🤖 Android TippsMichael Linden wechselt zu Coda Audio Deutschland(15.09.2026 um 18:14 Uhr)
🕵️ SicherheitslückenCVE-2026-82431 | Apache Storm Nimbus authorization (CNNVD-2026-98874501)(15.09.2026 um 18:28 Uhr)
🪟 Windows TippsMichael Linden wechselt zu Coda Audio Deutschland(15.09.2026 um 18:14 Uhr)
🤖 Android TippsMichael Linden wechselt zu Coda Audio Deutschland(15.09.2026 um 18:14 Uhr)
🕵️ SicherheitslückenCVE-2026-82431 | Apache Storm Nimbus authorization (CNNVD-2026-98874501)(15.09.2026 um 18:28 Uhr)

🔧 Programmierung 🕛 vor 1 Jahr 6 Min Lesezeit
0

Mastering BigQuery's Capacity-Based Compute Pricing Model

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht




TL;DR



BigQuery has two pricing models: On-demand, charging per byte processed, and Capacity-based, charging for slot capacity over time. Capacity-based can be cheaper if monthly costs are high. It involves reserving slots and can be optimized with historical data and tools like the Slot Estimator. Commitments for 1 or 3 years can lower costs even further.






I recently did a deep dive into BigQuery’s compute pricing models. Here is what I learned.



BigQuery provides two types of compute pricing models:





  • On-demand: This is the default option and works well for most situations. You are charged based on the amount of data processed.


  • Capacity-based: This model charges for the capacity used to run queries, measured in slots (virtual CPUs) over time.



That last one can actually save you quite a bit of money when properly used. The official Google Cloud documentation has 10 pages with over 10,000 words on the subject, including various tutorials. Let’s see if we can get the main idea in much less.



Capacity-based pricing can grant you cost benefits if your monthly BigQuery compute costs are higher than the minimum commitment offered. For a 3-year commitment in the EU region, you currently pay $0.0396 per slot hour. There is a minimum of 100 slots for any commitment, so that makes 100*0.0396 dollars per hour, for (365/12)*24 hours per month: $2,890.8.




Capacity-based pricing can grant you cost benefits if your monthly BigQuery compute costs are higher than $2,890.8.




Keep in mind that this is only about compute pricing, not storage pricing. Compute pricing includes the cost to process queries, including SQL queries, user-defined functions, scripts, and certain data manipulation language (DML) and data definition language (DDL) statements. See the for more details.




If 10 slots are available, BigQuery will use 10 slots. If there are only 5, it will use 5, which will make the query run slower.




With the On-demand pricing model, Google Cloud grants you access to 2,000 concurrent slots shared among your projects (by default). Within this model, you don’t pay for the slots you use; you only pay for the data you scanned. In the Capacity-based pricing model, on the other hand, you purchase dedicated (or autoscaling) query processing capacity (slots). In this case, you don’t pay at all for scanned data.






Making Reservations



A reservation is a pool of dedicated (or autoscaled) slots, bound to a specific region.



There are three different “editions”: Standard, Enterprise, and Enterprise Plus. Each edition has its own options and pricing. See before starting with this, as there are some caveats.


To optimize the usage of your reserved (dedicated) slots, queries running in a reservation use idle slots from other reservations within the same project. A requirement for using idle slots across different reservations is that those reservations must have identical regions, projects, and editions. This is a feature that can be turned off per reservation.



So, how many slots do you need?



There is no easy answer for this. You need to establish a baseline based on historical data and evaluate failure rate, performance, and cost.



Fortunately, BigQuery offers a handy Slot Estimator which you can use to estimate if adding or reducing your reserved slots could be useful. This is an image I took from the Google Cloud documentation. It shows how average job duration would increase or decrease if you add or reduce slots:



for a pretty good tutorial on how to estimate the number of slots you need based on your historical data.






Making Commitments



You can reserve slots for a pay-as-you-go price or through a reduced commitment price. A commitment is a 1 or 3-year purchase of slots at the reduced price.



Slots can be purchased in increments of 100 slots, up to your slot quota.



So, if you have experimented with pay-as-you-go reservations and have a good understanding of your continuous slot usage, a commitment might be a great next step to reduce costs further.



As a best practice, you can set your minimum monthly analytics use as your BigQuery capacity-based commitment to reduce costs.



See the in the Google Cloud BigQuery Guides.

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
No Head in the Clouds! How Healthcare Providers Can Avert Cloud Security Breaches
1 Quelle
Magic Out-Of-The-Box — Does It Apply to SIEM Solutions?
1 Quelle
Vulnerability Assessment vs. Penetration Testing
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Mastering BigQuery's Capacity-Based Compute Pricing Model

Thematisch verwandte Begriffe: Mastering, BigQuerys, CapacityBased, Compute · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...