Scale as needed with no limits
Globally distributed, ACID-compliant database that automatically handles replicas, sharding, and transaction processing, so you can quickly scale to meet any usage pattern and ensure success of your products.
Make your database highly available anywhere
Cloud Spanner is built on Google’s dedicated network and battle tested by Google services used by billions. It offers up to 99.999% availability with zero downtime for planned maintenance and schema changes.
Do fewer thankless tasks with a simpler experience
IT admins and DBAs are inundated with operating databases. With Cloud Spanner, creating or scaling a globally replicated database now takes a handful of clicks and reduces your cost of maintaining databases.
Relational database, built for scale
Everything you would expect from a relational database—schemas, SQL queries, and ACID transactions—battle tested and ready to scale globally.
Cloud Spanner delivers industry-leading 99.999% availability for multi-regional instances—10x less downtime than four nines—and provides transparent, synchronous replication across region and multi-region configurations.
Cloud Spanner optimizes performance by automatically sharding the data based on request load and size of the data. As a result, you can spend less time worrying about how to scale your database and instead focus on scaling your business.
Learn from customers using Cloud Spanner relational databases
for Google Cloud newsletters to receive product updates,
event information, special offers, and more.
Sign up for Google Cloud newsletters to receive product updates, event information, special offers, and more.
Use cases where Spanner is transforming businesses
Learn how Spanner powers business-critical applications in retail, financial services, gaming, media and entertainment, technology, healthcare and more.
Cloud Spanner: Qwik Start
Learn how to create a Cloud Spanner instance, database, and table; add a schema, write and modify data, and run a query.
Spanner Emulator lets application developers do correctness testing when developing an application. The emulator runs in an offline environment.
What makes Spanner tick?
Take a deep dive into how Cloud Spanner works and how it serves as the foundation for a lot of other Google products and services.
SQL best practices
Learn best practices for constructing SQL statements to help Cloud Spanner find efficient execution plans.
Find an overview of each data type, including simple data types such as integers, as well as more complex types such as ARRAY and STRUCT.
Learn the concepts of Cloud Spanner instances, instance configurations, and nodes. See the differences and tradeoffs between regional and multi-region instances.
See the general properties and semantics of transactions in Cloud Spanner as well as the read-write, read-only, and Partitioned DML transaction interfaces.
Learn about Spanner concepts from replication to audit logging, as well as advanced concepts such as sessions.
|Relational database, built for scale||Everything you would expect from a relational database—schemas, SQL queries, and ACID transactions—battle-tested and ready to scale for both reads and writes globally.|
|99.999% availability||Industry-leading 99.999% availability for multi-regional instances with TrueTime atomic clocks and transparent, synchronous replication. 100% online schema changes and maintenance while serving traffic with zero downtime.|
|Automatic sharding||Optimize performance by automatically sharding the data based on request load and data size. As a result, you can scale your database without disruptive re-architecture, and focus on growing your business.|
|Fully managed||Easy deployment at every stage and for any size database. Synchronous replication and maintenance are automatic and built in.|
|Strong transactional consistency||Purpose-built for industry-leading external consistency without compromising on scalability or availability.|
|Granular instance sizing (Preview)||Start with Spanner with a granular instance for only $65/month and scale it based on your needs without downtime and with no need for re-architecting.This feature is available in Preview in the Google Cloud Console. Learn more.|
|PostgreSQL interface (Preview)||Combine the scalability and reliability of Spanner with the familiarity and portability of PostgreSQL. Use the skills and tools that your teams already know, future-proofing your investment for peace of mind. Learn more.|
|Regional and multi-regional configurations||No matter where your users may be, apps backed by Spanner can read and write up-to-date strongly consistent data globally. Additionally, when running a multi-region instance, your database is protected against a regional failure and offers industry-leading 99.999% availability.|
|Federated queries with BigQuery||Query data in Spanner from BigQuery in real time without moving or copying the data, bridging the gap between operational data and analytics and creating a unified data life cycle.|
|Built on Google Cloud network||Cloud Spanner is built on Google’s dedicated network that provides low-latency, security, and reliability for serving users across the globe.|
|Enterprise-grade security and controls||Customer-managed encryption keys (CMEK), data-layer encryption, IAM integration for access and controls, and comprehensive audit logging. Support for VPC-SC, Access Transparency and Access Approval.|
|Backup and Restore, point-in-time recovery (PITR)||Backup your database to store a consistent copy of data and restore on demand. PITR provides continuous data protection with the ability to recover your past data to a microsecond granularity.|
|Rich application and tool support||Meet development teams where they are with native client libraries for Java/JDBC, Go, Python, C#, Node.js, PHP, Ruby and C++ as well as the most popular ORMs, including Hibernate and Entity Framework.|
|Real-time change data capture and replication (Preview)||Synchronize data across heterogeneous databases, storage systems, and applications reliably and with minimal latency with Datastream. Seamlessly deliver change streams from Oracle and MySQL databases into Spanner for up-to-date information.|
|Observability||Monitor performance of Spanner databases with metrics and stats. Analyze usage patterns in Spanner databases with Key Visualizer, an interactive monitoring tool.|
|Node (including all replications)||
Regional pricing (USD): From $0.90 per node per hr
Multi-region pricing (USD): From $3.00 per node per hr
Regional pricing (USD): From $0.30 per GB per month
Multi-region pricing (USD): From $0.50 per GB per month
|Network egress||Cross-region and internet egress rates may apply|
Postgres and PostgreSQL are trademarks of the PostgreSQL Community Association of Canada.