Softwr

Machine Learning · head to head

Databricks vs Google Cloud Spanner

Databricks logo

Databricks

Machine Learning

Unified analytics platform for data engineering and data science

From
Free
Free plan
Yes
Google Cloud Spanner logo

Google Cloud Spanner

Databases

Globally distributed relational database with strong consistency and up to 99.999% availability

From
Free
Free plan
Yes

The short version

  • Databricks is a unified analytics platform.
  • Google Cloud Spanner is free; Databricks starts at $0.07/mo.
  • Only Databricks lists delta Lake; only Google Cloud Spanner lists strong global consistency.
  • Where Databricks falls short: cloud compute is billed separately by the cloud provider on top of Databricks DBU charges.
  • Where Google Cloud Spanner falls short: pricing has compute, storage, replication and network components.

How do Databricks and Google Cloud Spanner differ?

Databricks and Google Cloud Spanner differ on platforms and category (Machine Learning against Databases). Only the attributes on which Databricks and Google Cloud Spanner actually diverge.

Attributes where Databricks and Google Cloud Spanner differ
AttributeDatabricksGoogle Cloud Spanner
PlatformsWeb, Aws, Azure, GcpWeb
CategoryMachine LearningDatabases

Identical on both: starting price (Free), pricing model (Usage-based), free tier (Yes).

Not yet recorded: founded for Google Cloud Spanner.

Which features does each one have?

They share no listed features; 16 appear only for Databricks and 9 only for Google Cloud Spanner. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Databricks

  • Delta Lake
  • Apache Spark
  • MLflow
  • Unity Catalog
  • Photon Engine
  • Collaborative Notebooks
  • Auto-scaling
  • AWS

Only in Google Cloud Spanner

  • Strong global consistency
  • Automatic sharding
  • Single, dual and multi-region configurations
  • Spanner Graph
  • Vector and full-text search
  • Columnar engine for analytics
  • BigQuery federated queries
  • Spanner Omni

What is each one used for?

Databricks is most often brought in for running Spark data engineering pipelines on managed clusters; Google Cloud Spanner for global transactional systems. The jobs each tool is most often brought in to do.

Databricks

  • Running Spark data engineering pipelines on managed clustersnot Google Cloud Spanner
  • Building a lakehouse over data in cloud object storagenot Google Cloud Spanner
  • Training and serving machine learning models alongside the datanot Google Cloud Spanner

Google Cloud Spanner

  • Global transactional systemsnot Databricks
  • Mission-critical apps needing 99.999% availabilitynot Databricks
  • Applications needing relational plus graph and vectornot Databricks
  • Real-time analytics on operational datanot Databricks
  • Scaling beyond a single database servernot Databricks

Where do Databricks and Google Cloud Spanner fall short?

Databricks's most cited limit: cloud compute is billed separately by the cloud provider on top of Databricks DBU charges. Google Cloud Spanner's: pricing has compute, storage, replication and network components. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Databricks

  • Cloud compute is billed separately by the cloud provider on top of Databricks DBU charges
  • The free trial lasts 14 days
  • Discounts require a Committed Use Contract, with larger commitments needed for larger discounts
  • Azure Databricks pricing is set by Microsoft rather than by Databricks
  • Security and compliance capabilities are sold as separate platform add ons rather than included in the base rate

Google Cloud Spanner

  • Pricing has compute, storage, replication and network components
  • Cost is high for small or single-region workloads
  • Tied to Google Cloud outside the Omni option
  • Schema and query patterns differ from standard PostgreSQL deployments

How much do Databricks and Google Cloud Spanner cost?

Databricks has a free plan, with paid plans from $0.07/mo; Google Cloud Spanner is free to use. Plan by plan below, from each vendor's own pricing page.

Databricks

Free
  • Community EditionFree
    • Limited cluster
    • Notebook environment
    • Community support
  • Standard$0.07/dbu
    • Jobs compute
    • SQL compute
    • Standard support

Google Cloud Spanner

Free

No published plan breakdown. See the Google Cloud Spanner review.

Which should you pick?

Choose Databricks if

  • You need delta lake.
  • You want to start without paying.
  • You work on Web, Aws, Azure, Gcp.
  • You also want apache spark.

Choose Google Cloud Spanner if

  • You need strong global consistency.
  • You want to start without paying.
  • You also want automatic sharding.

Questions people ask

Is Databricks or Google Cloud Spanner better?
It depends on the job. Databricks fits running Spark data engineering pipelines on managed clusters; Google Cloud Spanner fits global transactional systems. Databricks starts at Free and Google Cloud Spanner at Free.
Which is cheaper, Databricks or Google Cloud Spanner?
Databricks starts at Free and Google Cloud Spanner at Free.
Does Databricks or Google Cloud Spanner run on more platforms?
Databricks runs on Web, Aws, Azure, Gcp. Google Cloud Spanner runs on Web.
Can I use Databricks for free?
Both have a free tier, so you can try either at no cost before committing.
What is Databricks best used for?
Databricks is most often used for running spark data engineering pipelines on managed clusters, building a lakehouse over data in cloud object storage, training and serving machine learning models alongside the data. Of those, running spark data engineering pipelines on managed clusters and building a lakehouse over data in cloud object storage are not what Google Cloud Spanner is typically brought in for.
What can Databricks do that Google Cloud Spanner cannot?
Databricks covers Delta Lake, Apache Spark, MLflow, Unity Catalog. Google Cloud Spanner covers Strong global consistency, Automatic sharding, Single, dual and multi-region configurations, Spanner Graph.

Answered from the vendors’ own pages

Databricks: How is Databricks priced?

Databricks bills pay as you go with no up front cost, charging per second for the products used. Consumption is measured in Databricks Units, a normalised unit of processing power on the platform.

Source
Google Cloud Spanner: Is there a free trial?

Yes, a free trial instance lasts 90 days with up to 10 GiB of data.

Source
Databricks: Does Databricks publish a per DBU price?

Not on its main pricing page. Rates vary by product and instance type, and Databricks directs buyers to individual product pricing pages and a calculator rather than listing a single figure.

Source
Google Cloud Spanner: What availability does Spanner offer?

Up to 99.999% availability, depending on configuration.

Source
Databricks: Does the Databricks price include cloud costs?

No. Databricks states that if you configure it to work with your own cloud account, your cloud provider still charges you separately for the underlying resources.

Source
Google Cloud Spanner: How is Spanner billed?

By hourly compute by edition, plus storage and replication, with committed use discounts of one and three years.

Source
Databricks: Can I get a discount on Databricks?

Databricks offers Committed Use Contracts, where larger usage commitments earn greater benefits, including options to use commitments flexibly across multiple clouds.

Source
Google Cloud Spanner: Can Spanner run outside Google Cloud?

Spanner Omni is a downloadable version for on-premises, other clouds or a laptop.

Source
Share

Related pages

Other head to heads