DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Amazon DocumentDB vs. Google Cloud Spanner vs. Microsoft Azure Cosmos DB

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

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameAmazon DocumentDB  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB  Xexclude from comparison
DescriptionFast, scalable, highly available, and fully managed MongoDB-compatible database serviceA 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 modelDocument storeRelational DBMSDocument store
Graph DBMS
Key-value store
Wide column store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.80
Rank#126  Overall
#24  Document stores
Score2.56
Rank#97  Overall
#50  Relational DBMS
Score22.94
Rank#26  Overall
#4  Document stores
#2  Graph DBMS
#3  Key-value stores
#2  Wide column stores
Websiteaws.amazon.com/­documentdbcloud.google.com/­spannerazure.microsoft.com/­services/­cosmos-db
Technical documentationaws.amazon.com/­documentdb/­resourcescloud.google.com/­spanner/­docslearn.microsoft.com/­azure/­cosmos-db
DeveloperGoogleMicrosoft
Initial release201920172014
License infoCommercial or Open Sourcecommercialcommercialcommercial
Cloud-based only infoOnly available as a cloud serviceyesyesyes
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Server operating systemshostedhostedhosted
Data schemeschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesyesyes 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.nono
Secondary indexesyesyesyes infoAll properties auto-indexed by default
SQL infoSupport of SQLnoyes infoQuery statements complying to ANSI 2011SQL-like query language
APIs and other access methodsproprietary protocol using JSON (MongoDB compatible)gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
DocumentDB API
Graph API (Gremlin)
MongoDB API
RESTful HTTP API
Table API
Supported programming languagesGo
Java
JavaScript (Node.js)
PHP
Python
Go
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 proceduresnonoJavaScript
TriggersnonoJavaScript
Partitioning methods infoMethods for storing different data on different nodesnoneShardingSharding infoImplicit feature of the cloud service
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-availability zones for high availability, asynchronous replication for up to 15 read replicasMulti-source replication with 3 replicas for regional instances.yes infoImplicit feature of the cloud service
MapReduce infoOffers an API for user-defined Map/Reduce methodsno infomay be implemented via Amazon Elastic MapReduce (Amazon EMR)yes infousing Google Cloud Dataflowwith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyBounded Staleness
Consistent Prefix
Eventual Consistency
Immediate Consistency infoConsistency level configurable on request level
Session Consistency
Foreign keys infoReferential integrityno infotypically not used, however similar functionality with DBRef possibleyes 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 dataAtomic single-document operationsACID infoStrict serializable isolationMulti-item ACID transactions with snapshot isolation within a partition
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes
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 and rolesAccess 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

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

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

Amazon DocumentDB Quick Start: Zero Setup with AWS CloudShell
14 March 2025, Amazon Web Services

Powering a Generative AI Platform Using Amazon DocumentDB with tresle.ai | Amazon Web Services
18 April 2025, Amazon Web Services

Use IAM authentication with Amazon DocumentDB (with MongoDB compatibility)
17 October 2024, Amazon Web Services

Optimizing costs on Amazon DocumentDB using event-driven architecture and the AWS EventBridge Terraform module
23 August 2024, Amazon Web Services

Build containerized applications for Amazon DocumentDB that run on Amazon ECS on AWS Fargate
23 October 2024, Amazon Web Services

provided by Google News

Google Cloud Introduces HDD Tier for Spanner Database, Cutting Cold Storage Costs by 80%
22 March 2025, infoq.com

New features make Google's Spanner a database for AI
1 August 2024, TechTarget

Google Cloud adds graph and vector search features to Spanner database
2 August 2024, techzine.eu

Google Cloud adds graph processing to Spanner, SQL support to Bigtable
1 August 2024, InfoWorld

Google’s Plan to Make GCP ‘The Best Cloud for Machine Learning’
5 May 2025, SDx Central

provided by Google News

Microsoft Announces General Availability of Data API Builder for Azure Cosmos DB
6 July 2024, infoq.com

Microsoft’s new DocumentDB rethinks NoSQL on PostgreSQL
30 January 2025, InfoWorld

Crediclub saves 96% per month in audit processes and analyzes 150 meetings per hour with Azure
12 November 2024, Microsoft

Microsoft Announces Open-Source DocumentDB NoSQL Database
26 January 2025, Phoronix

Building Planet-Scale .NET Apps with Azure Cosmos DB
4 June 2024, Visual Studio Magazine

provided by Google News



Share this page

Featured Products

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Present your product here