DB-EnginesGraphDB banner English
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Google Cloud Spanner vs. Microsoft Azure Cosmos DB

System Properties Comparison Google Cloud Spanner vs. Microsoft Azure Cosmos DB

Please select another system to include it in the comparison.

Our visitors often compare Google Cloud Spanner and Microsoft Azure Cosmos DB with Google BigQuery, Amazon DynamoDB and MySQL.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB  Xexclude from comparison
DescriptionA horizontally scalable, globally consistent, relational database service. It is the externalization of the core Google database that runs the biggest aspects of Google, like Ads and Google Play.Globally distributed, horizontally scalable, multi-model database service
Primary database modelRelational DBMSDocument store
Graph DBMS
Key-value store
Wide column store
Secondary database modelsKey-value store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.22
Rank#113  Overall
#57  Relational DBMS
Score19.45
Rank#30  Overall
#5  Document stores
#2  Graph DBMS
#4  Key-value stores
#3  Wide column stores
Websitecloud.google.com/­spannerazure.microsoft.com/­services/­cosmos-db
Technical documentationcloud.google.com/­spanner/­docsdocs.microsoft.com/­en-us/­azure/­cosmos-db
DeveloperGoogleMicrosoft
Initial releaseFebruary 20172014
License infoCommercial or Open Sourcecommercialcommercial
Cloud-based infoOnly available as a cloud serviceyesyes
Server operating systemshostedhosted
Data schemeyesschema-free
Typing infopredefined data types such as float or dateyesyes infoJSON types
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.no
Secondary indexesyesyes infoAll properties auto-indexed by default
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011SQL-like query language
APIs and other access methodsgRPC (using protocol buffers) API
RESTful HTTP API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
DocumentDB API
Graph API (Gremlin)
MongoDB API
RESTful HTTP API
Table API
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
.Net
C#
Java
JavaScript
JavaScript (Node.js)
MongoDB client drivers written for various programming languages
Python
Server-side scripts infoStored proceduresnoJavaScript
TriggersnoJavaScript
Partitioning methods infoMethods for storing different data on different nodesShardingSharding infoImplicit feature of the cloud service
Replication methods infoMethods for redundantly storing data on multiple nodesMaster-Master replication with 3 replicas for regional instances.yes infoImplicit feature of the cloud service
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflowwith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyBounded Staleness
Consistent Prefix
Session Consistency
Eventual Consistency
Immediate Consistency infoConsistency level configurable on request level
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationMulti-item ACID transactions with snapshot isolation within a partition
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.no
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Access rights can be defined down to the item level
More information provided by the system vendor
Google Cloud SpannerMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB
Specific characteristicsCloud Spanner is the only enterprise-grade, globally-distributed, and strongly consistent...
» more
Azure Cosmos DB is Microsoft’s globally-distributed, horizontally scalable, multi-model...
» more
Competitive advantagesNo compromises Most databases today require making trade-offs between scale and consistency....
» more
Global distribution Easily build globally-distributed applications without the hassle...
» more
Typical application scenariosFinancial trading, insurance, global call centers, supply-chain management and manufacturing,...
» more
Azure Cosmos DB enables writing globally distributed applications and allows you...
» more
Key customersMarketo , Optiva , Evernote , Mixpanel , Google
» more
Jet.com, Asos, Real Madrid, Orange Tribes, MSN, Telenor, NextGames, Schneider Electric,...
» more
Market metricsGartner Research positions Microsoft as the leader in the Magic Quadrant Operational...
» more
Licensing and pricing modelsWith Azure Cosmos DB, pay only for the storage you use and the throughput you provision...
» more
3rd party products and services
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

We invite representatives of 3rd party vendors to contact us for presenting information about their offerings here.

More resources
Google Cloud SpannerMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB
Recent citations in the news

Optiva Metered First Charging Transaction Using Google Cloud Platform
21 June 2018, Markets Insider

YugaByte review: Planet-scale Cassandra and Redis
2 July 2018, InfoWorld

Cloud computing: Google cloud finds new takers in India
24 June 2018, Financial Express

MongoDB 4.0 aims for cloud-friendliness
27 June 2018, ZDNet

Optiva to Host Exclusive Telco Event "Optiva Insiders @ Google Cloud Next '18"
21 June 2018, Canada NewsWire (press release)

provided by Google News

Introduction to Azure Cosmos DB Global Distribution
5 July 2018, Database Journal

You can now check out the preview of Azure Cosmos DB Explorer
3 July 2018, Neowin

Striim Expands Collaboration with Microsoft to Move Real-Time Data to Azure
16 July 2018, Benzinga

Azure Service Fabric Mesh is out for public preview
17 July 2018, Daily Host News (press release) (blog)

YugaByte review: Planet-scale Cassandra and Redis
2 July 2018, InfoWorld

provided by Google News

Job opportunities

Emerging Technology - Delivery Innovation Consultant
Accenture, Seattle, WA

Application Support Engineer
Capital One, San Francisco, CA

Senior QA Engineer
Capital One, San Francisco, CA

Manager, Artificial Intelligence
Marketo, San Mateo, CA

Software Engineer, Database Reliability
The New York Times, New York, NY

Cloud Solution Architect
Microsoft, Edina, MN

Cloud Solution Architect
CGI, Fairfax, VA

.NET/Azure Architect
Digital Management, LLC, Indianapolis, IN

Microsoft Azure Cloud Engineer
Continental Resources, Bedford, MA

SOFTWARE ENGINEER 2
Microsoft, Reston, VA

jobs by Indeed




Share this page

Featured Products

Redis logo

Start now with Redis Cloud
Secure, highly available Redis as a serverless, hosted, fully managed cloud service.
Sign up here.

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Neo4j logo

New to the world of graph databases? Become an expert today with your copy of the Graph Databases for Beginners ebook.

Datastax logo

Datastax delivers Apache Cassandra as part of a database platform purpose built for IOT, Web and Mobile Apps. Download now.

Present your product here