DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Google Cloud Spanner vs. IBM Db2 vs. Microsoft Azure Cosmos DB vs. OpenSearch

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

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB  Xexclude from comparisonOpenSearch  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.Common in IBM host environments, 2 different versions for host and Windows/LinuxGlobally distributed, horizontally scalable, multi-model database serviceA distributed, RESTful search and analytics engine forked from Elasticsearch and based on Apache Lucene
Primary database modelRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBDocument store
Graph DBMS
Key-value store
Wide column store
Search engine
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Spatial DBMSVector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.89
Rank#103  Overall
#52  Relational DBMS
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score29.04
Rank#27  Overall
#4  Document stores
#2  Graph DBMS
#3  Key-value stores
#3  Wide column stores
Score16.36
Rank#37  Overall
#4  Search engines
Websitecloud.google.com/­spannerwww.ibm.com/­products/­db2azure.microsoft.com/­services/­cosmos-dbgithub.com/­opensearch-project
opensearch.org
Technical documentationcloud.google.com/­spanner/­docswww.ibm.com/­docs/­en/­db2learn.microsoft.com/­azure/­cosmos-dbopensearch.org/­docs/­latest
DeveloperGoogleIBMMicrosoftAmazon Web Services
Initial release20171983 infohost version20142021
Current release12.1, October 20162.5.0, January 2023
License infoCommercial or Open Sourcecommercialcommercial infofree version is availablecommercialOpen Source infoApache Version 2.0
Cloud-based only infoOnly available as a cloud serviceyesnoyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • Aiven for OpenSearch: Fully managed open source search and analytics suite. Out-of-the-box integrations get you up and running in a couple of clicks.
  • STACKIT OpenSearch offers OpenSearch in a managed version in enterprise grade, 100% GDPR-compliant, for a wide range of applications like analytics, website search, offering scalability and fast data access.
Implementation languageC and C++Java
Server operating systemshostedAIX
HP-UX
Linux
Solaris
Windows
z/OS
hostedAll OS with a Java VM
Data schemeyesyesschema-freeschema-free infoFlexible type definitions. Once a type is defined, it is persistent
Typing infopredefined data types such as float or dateyesyesyes infoJSON typesyes
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 indexesyesyesyes infoAll properties auto-indexed by defaultyes infoAll search fields are automatically indexed
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011yesSQL-like query languageSQL-like query language
APIs and other access methodsgRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
DocumentDB API
Graph API (Gremlin)
MongoDB API
RESTful HTTP API
Table API
Java API
RESTful HTTP/JSON API
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
.Net
C#
Java
JavaScript
JavaScript (Node.js)
MongoDB client drivers written for various programming languages
Python
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby infoElasticsearch client
Server-side scripts infoStored proceduresnoyesJavaScriptyes
TriggersnoyesJavaScriptyes infoby using the 'percolation' feature
Partitioning methods infoMethods for storing different data on different nodesShardingSharding infoonly with Windows/Unix/Linux VersionSharding infoImplicit feature of the cloud serviceSharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.yes infowith separate tools (MQ, InfoSphere)yes infoImplicit feature of the cloud serviceyes
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflownowith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyBounded Staleness
Consistent Prefix
Eventual Consistency
Immediate Consistency infoConsistency level configurable on request level
Session Consistency
Eventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, all
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyesnono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACIDMulti-item ACID transactions with snapshot isolation within a partitionno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyes
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)fine grained access rights according to SQL-standardAccess rights can be defined down to the item level
More information provided by the system vendor
Google Cloud SpannerIBM Db2 infoformerly named DB2 or IBM Database 2Microsoft Azure Cosmos DB infoformer name was Azure DocumentDBOpenSearch
Specific characteristicsOpenSearch is a highly scalable and extensible open-source software suite for search,...
» more
Competitive advantagesDistributed as fully open source under Apache License, Version 2.0 (ALv2), OpenSearch...
» more
Typical application scenariosThe OpenSearch platform is used across a broad range of search , analytics, and observability...
» more
Licensing and pricing modelsThe OpenSearch Project offers open source software licensed under Apache License...
» more

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
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more
Aiven for OpenSearch: Fully managed open source search and analytics suite. Out-of-the-box integrations get you up and running in a couple of clicks.
» more

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

More resources
Google Cloud SpannerIBM Db2 infoformerly named DB2 or IBM Database 2Microsoft Azure Cosmos DB infoformer name was Azure DocumentDBOpenSearch
Recent citations in the news

Google Improves Cloud Spanner: More Compute and Storage without Price Increase
14 October 2023, InfoQ.com

Google makes its Cloud Spanner database service faster and more cost-efficient
11 October 2023, SiliconANGLE News

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, TechCrunch

Google Cloud just fired a major volley at AWS as the cloud wars heat up
12 October 2023, TechRadar

Google Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

provided by Google News

Use AWS DMS to migrate data from IBM Db2 DPF to an AWS target | Amazon Web Services
28 May 2024, AWS Blog

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, precisely.com

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks & Files

provided by Google News

Start your AI journey with Microsoft Azure Cosmos DB—compete for $10K
9 May 2024, Microsoft

Public preview: Change partition key of a container in Azure Cosmos DB (NoSQL API) | Azure updates
27 March 2024, Microsoft

General availability: Microsoft Entra ID integration with Azure Cosmos DB for PostgreSQL | Azure updates
13 March 2024, Microsoft

General Availability: Data API builder | Azure updates
15 May 2024, Microsoft

Azure Cosmos DB Conf 2023
12 January 2024, learn.microsoft.com

provided by Google News

Amazon OpenSearch Service zero-ETL integration with Amazon S3 now available - AWS
22 May 2024, AWS Blog

OCI Search with OpenSearch 2.11 delivers easy access to latest AI innovations
13 March 2024, Oracle

Amazon OpenSearch Service now supports OpenSearch version 2.13
21 May 2024, AWS Blog

Behind the Scenes: Upgrading OpenSearch efficiency with OCI flexible vertical scaling
13 February 2024, Oracle

Introducing blueprint discovery and other UI enhancements for Amazon OpenSearch Ingestion | Amazon Web Services
22 May 2024, AWS Blog

provided by Google News



Share this page

Featured Products

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

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

RaimaDB logo

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

Milvus logo

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

Present your product here