Softwr

Databases · head to head

Google Cloud Spanner vs SAP HANA

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
SAP HANA logo

SAP HANA

Databases

In-memory, column-oriented relational database from SAP for analytics and applications

From
On request
Free plan
No

The short version

  • Google Cloud Spanner is free; SAP HANA prices on request.
  • Only Google Cloud Spanner lists strong global consistency; only SAP HANA lists in-memory column-oriented storage.
  • Where Google Cloud Spanner falls short: pricing has compute, storage, replication and network components.
  • Where SAP HANA falls short: in-memory storage costs more than disk, so large datasets need careful data tiering.

How do Google Cloud Spanner and SAP HANA differ?

Google Cloud Spanner and SAP HANA differ on starting price (Free against On request), pricing model (Usage-based against Quote) and free tier (Yes against No). Only the attributes on which Google Cloud Spanner and SAP HANA actually diverge.

Attributes where Google Cloud Spanner and SAP HANA differ
AttributeGoogle Cloud SpannerSAP HANA
Starting priceFreeOn request
Pricing modelUsage-basedQuote
Free tierYesNo
PlatformsWebLinux, Web

Identical on both: category (Databases).

Which features does each one have?

They share no listed features; 9 appear only for Google Cloud Spanner and 8 only for SAP HANA. 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 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

Only in SAP HANA

  • In-memory column-oriented storage
  • Hybrid transactional and analytical processing
  • Multiversion concurrency control
  • Spatial, text analytics and search libraries
  • Graph processing with Cypher
  • Predictive analytics libraries
  • ETL capabilities and application server
  • Dynamic tiering of warm data

What is each one used for?

Google Cloud Spanner is most often brought in for global transactional systems; SAP HANA for running SAP S/4HANA and other SAP applications. The jobs each tool is most often brought in to do.

Google Cloud Spanner

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

SAP HANA

  • Running SAP S/4HANA and other SAP applicationsnot Google Cloud Spanner
  • Real-time analytics on live transactional datanot Google Cloud Spanner
  • Spatial and graph analysis alongside relational datanot Google Cloud Spanner
  • Predictive analytics inside the databasenot Google Cloud Spanner
  • Consolidating transactional and reporting workloadsnot Google Cloud Spanner

Where do Google Cloud Spanner and SAP HANA fall short?

Google Cloud Spanner's most cited limit: pricing has compute, storage, replication and network components. SAP HANA's: in-memory storage costs more than disk, so large datasets need careful data tiering. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

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

SAP HANA

  • In-memory storage costs more than disk, so large datasets need careful data tiering
  • Scale-out is feasible only for time-critical use cases, per Wikipedia
  • Runs on SUSE Linux Enterprise Server and Red Hat Enterprise Linux only
  • Licensing splits into Runtime and Full Use editions, with streaming and ETL as extras
  • S/4HANA requires a SAP-certified HANA system, which some customers see as lock-in

How much do Google Cloud Spanner and SAP HANA cost?

Google Cloud Spanner is free to use; SAP HANA is priced on request. Plan by plan below, from each vendor's own pricing page.

Google Cloud Spanner

Free

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

SAP HANA

On request

No published plan breakdown. See the SAP HANA review.

Which should you pick?

Choose Google Cloud Spanner if

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

Choose SAP HANA if

  • You need in-memory column-oriented storage.
  • You work on Linux, Web.
  • You also want hybrid transactional and analytical processing.

Questions people ask

Is Google Cloud Spanner or SAP HANA better?
It depends on the job. Google Cloud Spanner fits global transactional systems; SAP HANA fits running SAP S/4HANA and other SAP applications. Google Cloud Spanner starts at Free and SAP HANA at On request.
Which is cheaper, Google Cloud Spanner or SAP HANA?
Google Cloud Spanner has a free tier; the other does not. Paid plans start at Free for Google Cloud Spanner and On request for SAP HANA.
Does Google Cloud Spanner or SAP HANA run on more platforms?
Google Cloud Spanner runs on Web. SAP HANA runs on Linux, Web.
Can I use Google Cloud Spanner for free?
Yes. Google Cloud Spanner has a free tier, so you can try it without paying. SAP HANA starts at On request.
What is Google Cloud Spanner best used for?
Google Cloud Spanner is most often used for global transactional systems, mission-critical apps needing 99.999% availability, applications needing relational plus graph and vector, real-time analytics on operational data. Of those, global transactional systems and mission-critical apps needing 99.999% availability are not what SAP HANA is typically brought in for.
What can Google Cloud Spanner do that SAP HANA cannot?
Google Cloud Spanner covers Strong global consistency, Automatic sharding, Single, dual and multi-region configurations, Spanner Graph. SAP HANA covers In-memory column-oriented storage, Hybrid transactional and analytical processing, Multiversion concurrency control, Spatial, text analytics and search libraries.

Answered from the vendors’ own pages

Google Cloud Spanner: Is there a free trial?

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

Source
SAP HANA: What kind of database is SAP HANA?

It is an in-memory, column-oriented relational database that Wikipedia also describes as multi-model. It combines OLAP and OLTP workloads in one system.

Source
Google Cloud Spanner: What availability does Spanner offer?

Up to 99.999% availability, depending on configuration.

Source
SAP HANA: Where can SAP HANA run?

On SUSE Linux Enterprise Server and Red Hat Enterprise Linux, on Intel 64 and IBM POWER hardware. It can be deployed on premises or on AWS, Microsoft Azure and Google Cloud.

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
SAP HANA: How is SAP HANA licensed?

Wikipedia describes a Runtime License for SAP applications and a Full Use License for SAP and non-SAP applications, in Base, Platform and Enterprise editions. Streaming and ETL are extra options.

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