Softwr

Databases · head to head

Google Cloud Spanner vs Neo4j

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
Neo4j logo

Neo4j

Databases

Graph database

From
Free
Free plan
Yes

The short version

  • Neo4j is a native graph database.
  • Google Cloud Spanner is free; Neo4j starts at $65/mo.
  • Only Google Cloud Spanner lists strong global consistency; only Neo4j lists cypher Query Language.
  • Where Google Cloud Spanner falls short: pricing has compute, storage, replication and network components.
  • Where Neo4j falls short: AuraDB Free has no service availability SLA, no backups and no point-in-time recovery.

How do Google Cloud Spanner and Neo4j differ?

Google Cloud Spanner and Neo4j differ on pricing model (Usage-based against Freemium) and platforms. Only the attributes on which Google Cloud Spanner and Neo4j actually diverge.

Attributes where Google Cloud Spanner and Neo4j differ
AttributeGoogle Cloud SpannerNeo4j
Pricing modelUsage-basedFreemium
PlatformsWebLinux, Windows, macOS, Self-hosted, Web

Identical on both: starting price (Free), free tier (Yes), category (Databases).

Not yet recorded: founded for Google Cloud Spanner.

Which features does each one have?

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

  • Native Graph Storage
  • Cypher Query Language
  • ACID Transactions
  • High Availability
  • Graph Data Science
  • Full-text Search
  • Native Indexes
  • GraphQL

What is each one used for?

Google Cloud Spanner is most often brought in for global transactional systems; Neo4j for graph database for learning and exploration. The jobs each tool is most often brought in to do.

Google Cloud Spanner

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

Neo4j

  • Graph database for learning and explorationnot Google Cloud Spanner
  • Production workloads requiring high availability and multi-zone redundancynot Google Cloud Spanner
  • Enterprise deployments needing custom infrastructurenot Google Cloud Spanner

Where do Google Cloud Spanner and Neo4j fall short?

Google Cloud Spanner's most cited limit: pricing has compute, storage, replication and network components. Neo4j's: AuraDB Free has no service availability SLA, no backups and no point-in-time recovery. 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

Neo4j

  • AuraDB Free has no service availability SLA, no backups and no point-in-time recovery
  • AuraDB Free imposes limits on node and relationship counts and runs single-zone only
  • SSO authentication and role-based access control are excluded from AuraDB Free and AuraDB Professional, starting only at Business Critical at $146 per GB per month with a 2GB minimum cluster
  • AuraDB Professional starts at $65 per GB per month with a minimum 1GB cluster and caps at 128GB memory per instance
  • AuraDB Professional backups are daily with only 7-day retention, against 30 days on Business Critical
  • Customer managed keys and private endpoints are available only on AuraDB Virtual Dedicated Cloud, which is quote only with no published price
  • Change data capture, query log forwarding, secondaries and access to Neo4j Professional Services are excluded below the Business Critical tier
  • Support on AuraDB Free is community only and AuraDB Professional is best effort, with 24x7 one-hour response starting at Business Critical
  • AuraDB Virtual Dedicated Cloud is sold on prepaid contract terms with enterprise commercial negotiation rather than self-serve card payment

How much do Google Cloud Spanner and Neo4j cost?

Google Cloud Spanner is free to use; Neo4j has a free plan, with paid plans from $65/mo. 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.

Neo4j

Free
  • FreeFree
    • Learning and exploration access
    • No credit card required
    • All graph tools included
  • AuraDB Professional$65/gb/month
    • 1GB minimum cluster
    • Hourly billing available ($0.09/hour for 1GB)
    • Daily backups with 7-day retention
  • AuraDB Business Critical$146/gb/month
    • 2GB minimum cluster
    • Hourly billing available ($0.40/hour for 2GB)
    • Up to 512GB maximum
  • Virtual Dedicated CloudOn request
    • Custom pricing via sales contact
    • Dedicated VPC infrastructure
    • Hourly backups with 60-day retention

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 Neo4j if

  • You need native graph storage.
  • You want to start without paying.
  • You work on Linux, Windows, macOS, Self-hosted, Web.
  • You also want cypher query language.

Questions people ask

Is Google Cloud Spanner or Neo4j better?
It depends on the job. Google Cloud Spanner fits global transactional systems; Neo4j fits graph database for learning and exploration. Google Cloud Spanner starts at Free and Neo4j at Free.
Which is cheaper, Google Cloud Spanner or Neo4j?
Google Cloud Spanner starts at Free and Neo4j at Free.
Does Google Cloud Spanner or Neo4j run on more platforms?
Google Cloud Spanner runs on Web. Neo4j runs on Linux, Windows, macOS, Self-hosted, Web.
Can I use Google Cloud Spanner for free?
Both have a free tier, so you can try either at no cost before committing.
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 Neo4j is typically brought in for.
What can Google Cloud Spanner do that Neo4j cannot?
Google Cloud Spanner covers Strong global consistency, Automatic sharding, Single, dual and multi-region configurations, Spanner Graph. Neo4j covers Native Graph Storage, Cypher Query Language, ACID Transactions, High Availability.

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
Neo4j: Is Neo4j free?

Neo4j offers a free tier (AuraDB Free) for learning and exploration with no credit card required. Community Edition is also free and GPL3-licensed. Paid tiers start at $65/GB per month for AuraDB Professional.

Source
Google Cloud Spanner: What availability does Spanner offer?

Up to 99.999% availability, depending on configuration.

Source
Neo4j: What does Neo4j's Professional tier include?

AuraDB Professional costs $65/GB per month with a 1GB minimum cluster, includes daily backups with 7-day retention, single-zone availability, and best-effort support. Hourly billing is available at $0.09/hour per GB.

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
Neo4j: What is Neo4j's most advanced pricing tier?

AuraDB Business Critical costs $146/GB per month with a 2GB minimum and includes multi-zone redundancy, 99.95% uptime SLA, 24/7 premium support with one-hour response times, and point-in-time recovery.

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