What happens if you increase SQL query concurrency in BigQuery?

Quick Overview

A conceptual question on what happens to BigQuery query latency and throughput when more SQL queries run at the same time. It tests understanding of slots, fair scheduling, query queues and concurrency limits, and how on-demand capacity differs from reservations.

What happens if you increase SQL query concurrency in BigQuery?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

A team starts sending many more SQL queries to BigQuery at the same time, for example a dashboard that fires dozens of queries on every refresh. What happens if you increase SQL query concurrency in BigQuery? ```hint Look at the compute unit Every BigQuery query runs on slots. Ask what happens to a fixed number of slots when more queries want them at the same moment. ``` ```hint Separate the two metrics Consider per-query latency and total throughput separately as concurrency grows, and ask what changes once every slot is busy. ``` ### What a Strong Answer Covers - How BigQuery shares slots across concurrent queries and what that does to the latency of each query. - How total throughput changes as concurrency rises, and the point where it stops improving. - What happens past the concurrency limit: queuing, and the conditions under which queries fail. - How on-demand capacity differs from reservations, and how to isolate workloads from each other. - Practical ways to support higher concurrency, such as adding slots or reducing the work each query does. ### Follow-up Questions - How would you tell whether slow dashboard queries are waiting for slots or simply scanning too much data? - When would you split workloads into separate reservations instead of adding slots to a shared one? - How do the results cache and materialized views change the effect of concurrency? - With an autoscaling reservation, how does higher concurrency affect cost?

Overview: A conceptual question on what happens to BigQuery query latency and throughput when more SQL queries run at the same time. It tests understanding of slots, fair scheduling, query queues and concurrency limits, and how on-demand capacity differs from reservations.

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

A team starts sending many more SQL queries to BigQuery at the same time, for example a dashboard that fires dozens of queries on every refresh. What happens if you increase SQL query concurrency in BigQuery?

What a Strong Answer Covers Guidance

  • How BigQuery shares slots across concurrent queries and what that does to the latency of each query.
  • How total throughput changes as concurrency rises, and the point where it stops improving.
  • What happens past the concurrency limit: queuing, and the conditions under which queries fail.
  • How on-demand capacity differs from reservations, and how to isolate workloads from each other.
  • Practical ways to support higher concurrency, such as adding slots or reducing the work each query does.

Follow-up Questions Guidance

  • How would you tell whether slow dashboard queries are waiting for slots or simply scanning too much data?
  • When would you split workloads into separate reservations instead of adding slots to a shared one?
  • How do the results cache and materialized views change the effect of concurrency?
  • With an autoscaling reservation, how does higher concurrency affect cost?