Explain the roles of Dremel, Colossus, and Jupiter in BigQuery's architecture and query execution.

Quick Overview

Asks what Dremel, Colossus and Jupiter each do inside BigQuery and how they combine to run a SQL query. Tests understanding of columnar storage, distributed query execution, shuffle, and why separating storage from compute affects query cost and speed.

Explain the roles of Dremel, Colossus, and Jupiter in BigQuery's architecture and query execution.

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

Explain the roles of Dremel, Colossus, and Jupiter in BigQuery's architecture and query execution. Describe what happens, from submission to result, when a query such as a filtered `GROUP BY` over a large table runs. ```hint One resource each Match each system to the resource it provides (storage, compute, network), then trace a single aggregation query through all three. ``` ```hint Follow the design choice Ask why BigQuery can afford to keep data on different machines from the ones that compute on it, and what that choice means for cost and for `SELECT *`. ``` ### What a Strong Answer Covers - What each of Colossus, Dremel and Jupiter does and which resource it provides. - How Dremel splits a query across many workers, and how intermediate results move between them for aggregations and joins. - Why a very fast network makes separating storage from compute workable, and what that separation gives you. - How the architecture shows up in day-to-day work: columnar reads, bytes billed, partition and cluster pruning, slots and data skew. ### Follow-up Questions - Why does `SELECT * ... LIMIT 10` on a large table cost about as much as reading every column in full? - How do partitioning and clustering change what Dremel reads from Colossus? - A join between two large tables is slow, and the query plan shows one worker running far longer than the others. What is happening and how would you fix it? - Why is the shuffle tier kept separate from the workers that compute?

Overview: Asks what Dremel, Colossus and Jupiter each do inside BigQuery and how they combine to run a SQL query. Tests understanding of columnar storage, distributed query execution, shuffle, and why separating storage from compute affects query cost and speed.

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

Explain the roles of Dremel, Colossus, and Jupiter in BigQuery's architecture and query execution. Describe what happens, from submission to result, when a query such as a filtered GROUP BY over a large table runs.

What a Strong Answer Covers Guidance

  • What each of Colossus, Dremel and Jupiter does and which resource it provides.
  • How Dremel splits a query across many workers, and how intermediate results move between them for aggregations and joins.
  • Why a very fast network makes separating storage from compute workable, and what that separation gives you.
  • How the architecture shows up in day-to-day work: columnar reads, bytes billed, partition and cluster pruning, slots and data skew.

Follow-up Questions Guidance

  • Why does SELECT * ... LIMIT 10 on a large table cost about as much as reading every column in full?
  • How do partitioning and clustering change what Dremel reads from Colossus?
  • A join between two large tables is slow, and the query plan shows one worker running far longer than the others. What is happening and how would you fix it?
  • Why is the shuffle tier kept separate from the workers that compute?