About Skills Projects Blog Contact View my CV ↗ Español
Snowflake vs Databricks vs BigQuery: when to use each one (and when not to)

Snowflake vs Databricks vs BigQuery: when to use each one (and when not to)

A hands-on comparison of Snowflake, Databricks and BigQuery: architecture, SQL, pricing, governance and real scenarios to choose well.

By Omar Flores
Table of Contents

It is 9:40 on a Tuesday and there are three logos on the whiteboard. Someone booked a meeting to choose the company’s data platform. Snowflake, Databricks and BigQuery are drawn in columns, and everyone already has an answer: the one they used at their last job, the one from the Spark course, the one from the benchmark they read yesterday. The decision is being made from memory, not from workload.

All three are good, and all three run the same GROUP BY without complaint. The difference shows up when the team grows, the invoice arrives, and someone asks why a three-minute query costs more than a junior’s salary.


Three platforms, three centers of gravity

Snowflake started as a cloud data warehouse. Its promise is SQL, complete separation of storage and compute, and built-in governance.

Databricks started on the Spark and data science side. Its center of gravity is the lakehouse: the same data serves a pipeline, a notebook, a model and a SQL query. Operations are more explicit: clusters, policies and maintenance.

BigQuery is Google’s serverless answer. You don’t pick instances: you write SQL and the service assigns slots. Its center of gravity is ad hoc querying and the GCP ecosystem. If you already live in Google Cloud, it is the path of least friction.

Platform Center of gravity You’ll like it if…
Snowflake SQL warehouse with governance and sharing Your team lives in SQL, BI and dbt
Databricks Lakehouse with Spark, notebooks and ML You have data engineering and data science
BigQuery Serverless analytics inside GCP You want zero operations and ad hoc queries

None is “the best”. Each optimizes for a type of team and workload.

Architecture: what each one separates and what it makes you operate

All three separate storage and compute, but with different contracts.

Snowflake stores data in object storage as compressed micro-partitions. Compute means virtual warehouses: independent clusters that start, stop and resize without touching the data. You manage size, auto-suspend, resource monitors and roles; there are no indexes, but there is a decision that hits the invoice: how long warehouses stay awake.

Databricks separates the control plane from compute, which runs in your cloud account. Data lives in your bucket, usually as Delta Lake or Iceberg. You manage clusters, instance types, autoscaling, policies and maintenance: compacting files, deleting old versions, choosing clustering keys. That is an advantage if you have a platform team; a burden if you don’t.

BigQuery is serverless for real. Google manages storage and compute. You manage datasets, partitions, clustering, quotas and, if you buy capacity, slot reservations. You lose control over the machine, but a 10 TB query and a 10 GB query use the same infrastructure.

Aspect Snowflake Databricks BigQuery
Storage Managed object storage Your bucket (Delta/Iceberg) Colossus, managed
Compute Virtual warehouses Clusters, jobs, SQL warehouses Serverless slots or reservations
Operational work Medium High Low

The rule I use: control over the instance, Databricks; control over the warehouse, Snowflake; zero administration, BigQuery.

Hands-on: the same table in all three

Create the same table in all three and see what each one makes you write.

Snowflake: warehouse and clustering

CREATE WAREHOUSE IF NOT EXISTS analytics_wh
  WAREHOUSE_SIZE = 'SMALL'
  AUTO_SUSPEND = 60
  AUTO_RESUME = TRUE
  INITIALLY_SUSPENDED = TRUE;

CREATE DATABASE IF NOT EXISTS analytics;
CREATE SCHEMA IF NOT EXISTS analytics.marts;

CREATE OR REPLACE TABLE analytics.marts.events (
  event_id STRING,
  event_date DATE,
  service STRING,
  level STRING,
  duration_ms NUMBER
)
CLUSTER BY (event_date, service);

CLUSTER BY is not an index: it is a physical ordering hint. On large tables filtered by date and service, it reduces the micro-partitions the engine has to read. AUTO_SUSPEND = 60 is the most important cost lever. Loading happens with COPY INTO and a stage.

Databricks: catalog, Delta and liquid clustering

CREATE CATALOG IF NOT EXISTS prod;
CREATE SCHEMA IF NOT EXISTS prod.analytics;

CREATE OR REPLACE TABLE prod.analytics.events (
  event_id STRING,
  event_time TIMESTAMP,
  service STRING,
  level STRING,
  duration_ms INT
)
USING DELTA
CLUSTER BY (service, event_time);

OPTIMIZE prod.analytics.events;
VACUUM prod.analytics.events RETAIN 168 HOURS;

Here CLUSTER BY is liquid clustering: the platform decides the layout and can change keys without rewriting the table. OPTIMIZE compacts small files and VACUUM removes old versions. That maintenance is part of the job; skip it and performance degrades.

BigQuery: partitions, clustering and loading

CREATE TABLE `my-project.analytics.events`
(
  event_id STRING,
  event_time TIMESTAMP,
  service STRING,
  level STRING,
  duration_ms INT64
)
PARTITION BY DATE(event_time)
CLUSTER BY service
OPTIONS (partition_expiration_days = 365);

Loading is done with bq load or a job from GCS. Partitioning by date is the most important lever: without a partition filter, the query scans the whole table and the invoice reflects it. Clustering by service helps, but it does not replace partitioning.

SQL: dialects that look alike enough to fool you

All three speak SQL, and for 80% of queries the code is identical. That similarity is dangerous: it makes you believe migration is copy and paste.

This query works the same in Snowflake and BigQuery:

SELECT event_date, service, errors
FROM daily_errors
QUALIFY ROW_NUMBER() OVER (PARTITION BY event_date ORDER BY errors DESC) <= 3;

Databricks supports QUALIFY too. The problem shows up in the specifics: Snowflake uses VARIANT and : for JSON; BigQuery uses JSON_VALUE or STRUCT; dates change (DATEADD, date_add, DATE_ADD) and so do identifiers (double quotes in Snowflake, backticks in the other two).

Need Snowflake Databricks BigQuery
Semi-structured VARIANT + : VARIANT / STRUCT JSON / STRUCT
Time travel AT / BEFORE VERSION / TIMESTAMP AS OF FOR SYSTEM_TIME AS OF
Dates DATEADD date_add, INTERVAL DATE_ADD, INTERVAL

Portable SQL covers the business logic; platform functions are what tie you down. The cost of migration is not in the SELECT; it is in the hundreds of details around it.

Pricing: three ways to lose money

All three charge by consumption, but they measure different things. Comparing list prices without modeling your workload is the fastest way to get it wrong.

Concept Snowflake Databricks BigQuery
Compute Credits per second, 60 s minimum DBU per second + cloud VM Bytes scanned or slot-hour
On-demand Credit by size and edition From US$0.15/DBU in data engineering US$6.25/TiB scanned; 1 TiB free per month
Storage TB/month, compressed Object storage + DSU Active ~US$0.023/GiB-month; long-term ~half
Typical risk Warehouse left running Idle cluster and small files Query that scans too much

A MEDIUM Snowflake warehouse consumes 4 credits per hour; an XSMALL, 1. At US$3 per credit, running it 2 hours a day costs US$720 a month instead of US$180. The difference is not the engine: it is size and uptime.

Databricks charges DBU plus the cloud instance. An ephemeral autoscaling job cluster is cheaper than an all-purpose cluster left on all day. In BigQuery, scanning 10 TB costs US$62.50; if partitioning cuts the scan to 200 GB, it costs US$1.25.

To see where the money goes, Snowflake has ACCOUNT_USAGE:

SELECT warehouse_name, SUM(credits_used) AS credits
FROM snowflake.account_usage.warehouse_metering_history
WHERE start_time >= DATEADD(day, -7, CURRENT_TIMESTAMP())
GROUP BY warehouse_name
ORDER BY credits DESC;

In Databricks, system.billing.usage gives DBUs by SKU and date. In BigQuery, INFORMATION_SCHEMA.JOBS_BY_PROJECT gives billed bytes by user. Without that visibility, FinOps becomes an argument of opinions.

Governance: the tax that doesn’t show up on the invoice

Governance is what lets ten teams use the same platform without copying data or breaking rules. It is also the most underestimated part of a migration.

Snowflake has Horizon Catalog: role-based privileges, column masking, row policies, tags and lineage. Data sharing is native: you share a table with another account without exporting or duplicating it. For a company with partners or subsidiaries, that is worth more than a benchmark.

Databricks has Unity Catalog: a central metastore, three-level namespaces, grants, row filters, column masks, lineage, audit logs and Delta Sharing. It governs data, models, notebooks and jobs in the same plane, but it is not optional if you want the best of the platform.

BigQuery has IAM, Dataplex Universal Catalog, policy tags, row-level security, authorized views and VPC Service Controls. Governance is spread across several services, but the model is familiar if you already live in Google Cloud.

The right question is not “does it have a catalog?”. It is “can I prove who accessed which data, when, and for what purpose?”.

Workloads: who wins on each terrain

Workload Best option Why
Concurrent BI Snowflake or BigQuery Multi-cluster warehouses / slots and BI Engine
Spark ETL Databricks Native Spark, jobs, Unity Catalog, MLflow
Ad hoc SQL without operations BigQuery Serverless, dry run, partitions
Streaming Databricks or Kafka + Flink Structured Streaming / Flink; neither replaces Kafka
ML and notebooks Databricks GPUs, MLflow, shared environments
Data sharing Snowflake or Databricks Listings / Delta Sharing
Multi-cloud Snowflake or Databricks Available on AWS, Azure and GCP
Small team without a platform BigQuery No infrastructure to operate

All three can do almost everything, but each comes with a different operational cost. If you already have an S3 lakehouse with Iceberg, Databricks and Snowflake read it without copying; BigQuery can too with BigLake, though cross-cloud latency matters.

Decision scenarios

B2B SaaS on AWS, 30 people, dbt and Looker. Snowflake. The team is SQL-first and governance fits without building a platform team.

Azure company with Spark, data science and models in production. Databricks. The lakehouse, MLflow and notebooks are the center; if the team already knows Spark, the curve is shorter.

GCP product with events, ad hoc analysts and variable budget. BigQuery. Serverless elasticity and the Google ecosystem reduce friction; partitions and maximum_bytes_billed prevent surprises.

Regulated bank, multi-cloud, hundreds of tables with PII. Snowflake or Databricks, depending on skills and cloud. BigQuery is viable if the cloud is GCP and VPC Service Controls is in the design from day one.

Five-person startup with 200 GB of data. None of them, yet. Postgres, DuckDB or the BigQuery free tier solve the problem without a monthly invoice.

Common mistakes I’ve seen in migrations

  1. Benchmarking with 100 GB. At that scale, everything flies; differences appear with terabytes and concurrency.
  2. Comparing list price instead of total cost. Egress, copies, team time and training outweigh the credit discount.
  3. Leaving a Snowflake warehouse running. The 10-minute auto-suspend is convenient and expensive; lower the timeout.
  4. Using all-purpose clusters for jobs. An ephemeral job cluster is cheaper.
  5. Running SELECT * without a partition filter. Scanning is billed by column and partition; LIMIT does not reduce the cost.
  6. Leaving governance for later. Changing permissions with production data is another migration.
  7. Choosing by SQL dialect. The dialect takes a week to learn; the operating model takes years to endure.
  8. Moving everything at once. Migrate one domain, measure, adjust, repeat.

A one-week checklist

  • Which five queries represent 80% of the workload?
  • How much data do you have today, and how fast does it grow?
  • How many concurrent BI users at peak?
  • Do you need second-level or minute-level latency?
  • Which data is PII, where must it live, and who must audit it?
  • Which cloud and skills does the team already have?
  • If you leave tomorrow, will the data stay in an open format?

The POC must use your data and your concurrency. Measure critical query time, cost per query and operational effort. If one platform wins all three, decide; if it wins two, discuss which one can fail without breaking the business.

What you’re actually choosing

You are not choosing a SQL engine; you are choosing an operating model and a cost culture. Snowflake demands warehouse discipline; Databricks demands platform maturity; BigQuery demands query and budget discipline. None saves you from a bad data model or a pipeline without an owner.

The right platform is the one that makes your team ask better questions, not the one that wins the benchmark of the month.

You are not choosing a warehouse. You are choosing which kind of friction you can sustain for the next three years.