Cloud Data Warehouses Overview (Snowflake, BigQuery, Redshift, Databricks SQL)
Compare leading cloud warehouses on separation of storage/compute, pricing, and SQL dialect.
In plain words
Bytes, joins, skew, and concurrency. Next, storage and compute separation controls. Finally, identity, SLO, cost controls, and exit path.
Think of it like…
These warehouses are freight hubs with different billing meters: some charge by rented loading crews, some by cargo passed or reserved belts, and all require pallets packed for their machinery.
Where you’ve seen it
Snowflake sizes a virtual warehouse to a workload, BigQuery bills bytes or reserved slot capacity, Redshift distributes/sorts rows, and Databricks SQL charges DBU-backed serverless/provisioned warehouses.
Words you’ll hear
- Snowflake
- A service with separate storage and virtual compute warehouses, micro-partitions, and account-level sharing features.
- BigQuery
- Google's Dremel-derived serverless warehouse with scan or capacity pricing, declarative partitioning, and clustering.
- Redshift
- AWS's columnar warehouse where distribution, sort keys, RA3 storage separation, and concurrency affect performance.
- Operational boundary
- A vendor comparison based only on query price omits table scan bytes, idle warehouse hours, slot reservations, maintenance, data locality, and ecosystem migration costs. Benchmark representative skew, concurrency, partitioning, and stored-data patterns using the same warehouse edition/region, then evaluate total cost, identity, operations, open-format and vendor-exit constraints.
Visual diagram
Theory & deep dive
Snowflake: the working mechanism
Snowflake, BigQuery, Redshift, and Databricks SQL all provide managed analytical SQL but separate capacity, scaling, metadata, pricing, concurrency, and dialect controls differently.
Bytes, joins, skew, and concurrency. Storage and compute separation controls, then same data, edition, region, and cold/warm cache; this exposes the state governed by Redshift.
Snowflake sizes a virtual warehouse to a workload, BigQuery bills bytes or reserved slot capacity, Redshift distributes/sorts rows, and Databricks SQL charges DBU-backed serverless/provisioned warehouses.
Cloud Data Warehouses Overview: failure mode and production response
A vendor comparison based only on query price omits table scan bytes, idle warehouse hours, slot reservations, maintenance, data locality, and ecosystem migration costs.
Benchmark representative skew, concurrency, partitioning, and stored-data patterns using the same warehouse edition/region, then evaluate total cost, identity, operations, open-format and vendor-exit constraints. Track Cold/warm query as "measure both cache states explicitly", and make Concurrency visible to the dataset owner.
How it works, step by step
Step 1 of 41. Model workload
Bytes, joins, skew, and concurrency. Snowflake, BigQuery, Redshift, and Databricks SQL all provide managed analytical SQL but separate capacity, scaling, metadata, pricing, concurrency, and dialect controls differently.
- Cold/warm query
- measure both cache states explicitly
- BigQuery
- Google's Dremel-derived serverless warehouse with scan or capacity pricing, declarative partitioning, and clustering.
When to use it & trade-offs
What it is
Snowflake, BigQuery, Redshift, and Databricks SQL all provide managed analytical SQL but separate capacity, scaling, metadata, pricing, concurrency, and dialect controls differently. Snowflake sizes a virtual warehouse to a workload, BigQuery bills bytes or reserved slot capacity, Redshift distributes/sorts rows, and Databricks SQL charges DBU-backed serverless/provisioned warehouses.
Why it matters: A vendor comparison based only on query price omits table scan bytes, idle warehouse hours, slot reservations, maintenance, data locality, and ecosystem migration costs. Benchmark representative skew, concurrency, partitioning, and stored-data patterns using the same warehouse edition/region, then evaluate total cost, identity, operations, open-format and vendor-exit constraints.
When to reach for it
- Compare leading cloud warehouses on separation of storage/compute, pricing, and SQL dialect.
- Choose Snowflake because it provides this capability: A service with separate storage and virtual compute warehouses, micro-partitions, and account-level sharing features.
- Keep evidence for Cold/warm query at "measure both cache states explicitly" so the last production stage-Choose operations - identity, SLO, cost controls, and exit path-remains testable.
When to avoid or be careful
- A vendor comparison based only on query price omits table scan bytes, idle warehouse hours, slot reservations, maintenance, data locality, and ecosystem migration costs.
- Do not conflate BigQuery with Snowflake. The second concept contributes different behavior: Google's Dremel-derived serverless warehouse with scan or capacity pricing, declarative partitioning, and clustering.
- Release only after this guardrail is in place: Benchmark representative skew, concurrency, partitioning, and stored-data patterns using the same warehouse edition/region, then evaluate total cost, identity, operations, open-format and vendor-exit constraints.
Snowflake / BigQuery / Redshift - roles, limits, and operating cost
Strengths: A service with separate storage and virtual compute warehouses, micro-partitions, and account-level sharing features. Snowflake, BigQuery, Redshift, and Databricks SQL all provide managed analytical SQL but separate capacity, scaling, metadata, pricing, concurrency, and dialect controls differently.
Watch out: A vendor comparison based only on query price omits table scan bytes, idle warehouse hours, slot reservations, maintenance, data locality, and ecosystem migration costs.
Strengths: Google's Dremel-derived serverless warehouse with scan or capacity pricing, declarative partitioning, and clustering. In this workflow it supports: Pilot fairly - same data, edition, region, and cold/warm cache.
Watch out: The operating cost is real: queries sustained within interactive p95 SLO.
Strengths: AWS's columnar warehouse where distribution, sort keys, RA3 storage separation, and concurrency affect performance. Its output can be checked with TCO unit.
Watch out: Operating guardrail: Benchmark representative skew, concurrency, partitioning, and stored-data patterns using the same warehouse edition/region, then evaluate total cost, identity, operations, open-format and vendor-exit constraints.
Interview signals & numbers to know
When this topic comes up
- “Where is the failure boundary for Snowflake, and how would Cold/warm query reveal it?”
- “Why is BigQuery distinct from this behavior: AWS's columnar warehouse where distribution, sort keys, RA3 storage separation, and concurrency affect performance?”
- Production clue: A vendor comparison based only on query price omits table scan bytes, idle warehouse hours, slot reservations, maintenance, data locality, and ecosystem migration costs.
- Design probe: Benchmark representative skew, concurrency, partitioning, and stored-data patterns using the same warehouse edition/region, then evaluate total cost, identity, operations, open-format and vendor-exit constraints.
Benchmarks & rules of thumb
- Cold/warm query
- measure both cache states explicitly
- Concurrency
- queries sustained within interactive p95 SLO
- TCO unit
- stored TB plus queried TB/slots/compute and engineering operations
Common mistakes & follow-ups
Common interview mistakes
- A vendor comparison based only on query price omits table scan bytes, idle warehouse hours, slot reservations, maintenance, data locality, and ecosystem migration costs.
- Reporting success from a job exit code without checking Cold/warm query and Concurrency.
- Treating this example as complete without replay, rollback, or access boundaries: Snowflake sizes a virtual warehouse to a workload, BigQuery bills bytes or reserved slot capacity, Redshift distributes/sorts rows, and Databricks SQL charges DBU-backed serverless/provisioned warehouses.
Likely interviewer follow-ups
- How would you prove this contract instead of only checking that the command ran: A service with separate storage and virtual compute warehouses, micro-partitions, and account-level sharing features.
- What does the recovery plan do when this occurs? A vendor comparison based only on query price omits table scan bytes, idle warehouse hours, slot reservations, maintenance, data locality, and ecosystem migration costs.
- When is Snowflake insufficient for Concurrency, and what does adding BigQuery cost in Cold/warm query?
Knowledge check
Put it into practice
Practice related interview Q&A
Apply Cloud Data Warehouses Overview (Snowflake, BigQuery, Redshift, Databricks SQL) with data engineer interview Q&A and hands-on practice.