What is the persistence layer in BigQuery (Colossus), and how does it ensure durability?
Quick Overview
Asks what Colossus is and how it keeps BigQuery table data durable when disks, machines or zones fail. Tests understanding of replication, erasure coding, failure domains and why separating storage from compute matters in a cloud data warehouse.
What is the persistence layer in BigQuery (Colossus), and how does it ensure durability?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
What is the persistence layer in BigQuery (Colossus), and how does it ensure durability?
Describe what Colossus is, how it relates to the compute side of BigQuery, and the mechanisms that keep table data from being lost when disks, machines or zones fail.
```hint Think in failure domains
Durability means surviving lost hardware. Ask how many copies or fragments of a chunk exist, where they are placed, and what happens after one of them disappears.
```
### What a Strong Answer Covers
- What Colossus is and how it relates to Google File System
- The redundancy mechanisms that protect each chunk and what each one costs
- How placement across failure domains and automatic repair keep data durable over time
- Why keeping storage separate from compute matters for slot failures, scaling and read throughput
- What storage durability does not protect against
### Follow-up Questions
- How does erasure coding compare with three-way replication in storage overhead and repair traffic?
- Storage durability is handled for you. How would you recover a table that someone deleted or overwrote by mistake?
- How does the columnar format BigQuery writes to Colossus affect the cost and speed of a query?
- What does the separation of storage and compute mean for many concurrent queries reading the same table?
Overview: Asks what Colossus is and how it keeps BigQuery table data durable when disks, machines or zones fail. Tests understanding of replication, erasure coding, failure domains and why separating storage from compute matters in a cloud data warehouse.
What is the persistence layer in BigQuery (Colossus), and how does it ensure durability?
Describe what Colossus is, how it relates to the compute side of BigQuery, and the mechanisms that keep table data from being lost when disks, machines or zones fail.
What a Strong Answer Covers Guidance
What Colossus is and how it relates to Google File System
The redundancy mechanisms that protect each chunk and what each one costs
How placement across failure domains and automatic repair keep data durable over time
Why keeping storage separate from compute matters for slot failures, scaling and read throughput
What storage durability does not protect against
Follow-up Questions Guidance
How does erasure coding compare with three-way replication in storage overhead and repair traffic?
Storage durability is handled for you. How would you recover a table that someone deleted or overwrote by mistake?
How does the columnar format BigQuery writes to Colossus affect the cost and speed of a query?
What does the separation of storage and compute mean for many concurrent queries reading the same table?