What are BigQuery slots, and how do they represent the unit of computational capacity?

Quick Overview

Asks what a BigQuery slot is and how slots act as the unit of compute capacity for queries. Tests how slots are spread across query stages and concurrent jobs, how slot time is measured, and how on-demand and capacity pricing relate to slot usage.

What are BigQuery slots, and how do they represent the unit of computational capacity?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

What are BigQuery slots, and how do they represent the unit of computational capacity? Explain what a slot does while a query runs and how slots relate to the way BigQuery charges for queries. ```hint Follow one query Picture a query split into stages and each stage into many small pieces of work, and ask what has to be available for those pieces to run at the same time. ``` ```hint Compare the two bills Ask what you pay for under on-demand pricing and under capacity pricing, and what makes a query expensive under each. ``` ### What a Strong Answer Covers - What a slot is and what part of a query plan it executes - How slots are assigned to query stages and shared among concurrent queries - How slot usage is measured and how it relates to a query's elapsed time - How on-demand and capacity (editions and reservations) pricing differ in terms of slots - What limits the speedup from adding slots, and how monitoring slot usage guides reservation sizing ### Follow-up Questions - A query reports 7,200,000 slot-milliseconds over 2 minutes of elapsed time. How many slots did it use on average, and what does that tell you? - Under capacity pricing, does selecting fewer columns still save money? - Why might doubling a reservation's slots fail to halve a query's runtime? - How would you decide between on-demand pricing and a reservation for a team's workload?

Overview: Asks what a BigQuery slot is and how slots act as the unit of compute capacity for queries. Tests how slots are spread across query stages and concurrent jobs, how slot time is measured, and how on-demand and capacity pricing relate to slot usage.

Nov 25, 2026
mediumData ScientistOtherData Manipulation (SQL/Python)
0
0

What are BigQuery slots, and how do they represent the unit of computational capacity? Explain what a slot does while a query runs and how slots relate to the way BigQuery charges for queries.

What a Strong Answer Covers Guidance

  • What a slot is and what part of a query plan it executes
  • How slots are assigned to query stages and shared among concurrent queries
  • How slot usage is measured and how it relates to a query's elapsed time
  • How on-demand and capacity (editions and reservations) pricing differ in terms of slots
  • What limits the speedup from adding slots, and how monitoring slot usage guides reservation sizing

Follow-up Questions Guidance

  • A query reports 7,200,000 slot-milliseconds over 2 minutes of elapsed time. How many slots did it use on average, and what does that tell you?
  • Under capacity pricing, does selecting fewer columns still save money?
  • Why might doubling a reservation's slots fail to halve a query's runtime?
  • How would you decide between on-demand pricing and a reservation for a team's workload?