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
Blockchain replaces one third of infrastructure with a single managed service using Cloud Spanner.
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—battled-tested and ready to scale globally.|
|99.999% availability||For global businesses, reliability is expected but maintaining that reliability while also rapidly scaling can be a challenge. Cloud Spanner delivers industry-leading 99.999% availability for multi-regional instances and provides transparent, synchronous replication across region and multi-region configurations|
|Automatic sharding||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.|
|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 external, strong, global transactional consistency.|
|Regional and multi-regional configurations||No matter where your users may be, apps backed by Cloud Spanner can read and write up-to-date strongly consistent data globally Additionally, when running a multi-region instance, your database is able to survive a regional failure, and offers industry-leading 99.999% availability.|
|Online schema changes with no downtime||Cloud Spanner users can make a schema change, whether it’s adding a column or adding an index, while serving traffic with zero downtime. Hence you now have the flexibility to adapt your database to your business needs without compromising on the availability of your application.|
|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||Customer-managed encryption keys (CMEK), data-layer encryption, IAM integration for access and controls, and comprehensive audit logging.|
|Backup and Restore, point-in-time recovery (PITR)||Backup and Restore recovers the database to the last state when the backup or the export was taken. PITR provides continuous data protection with the ability to recover your past data to a microsecond granularity.|
|Multi-language support||Client libraries in C#, C++, Go, Java, Node.js, PHP, Python, and Ruby. JDBC drivers for connectivity with popular third-party tools.|
|Real-time change data capture and replication||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 Google Cloud services such as Cloud Spanner, Cloud SQL, Google Cloud Storage, and BigQuery for up-to-date information.|
|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|