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

DBMS > Couchbase vs. Google Cloud Spanner vs. HarperDB vs. IBM Db2

System Properties Comparison Couchbase vs. Google Cloud Spanner vs. HarperDB vs. IBM Db2

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCouchbase infoOriginally called Membase  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonHarperDB  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparison
DescriptionA distributed document store with integrated cache, a powerful search engine, in-built operational and analytical capabilities, and an embedded mobile databaseA 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.HarperDB takes the "stack" out of "tech stack" by combining an ultra-fast document-style data store, in-memory cache, real-time message broker, and your application components into a single distributed technology.Common in IBM host environments, 2 different versions for host and Windows/Linux
Primary database modelDocument storeRelational DBMSDocument storeRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDB
Secondary database modelsKey-value store infooriginating from the former Membase product and supporting the Memcached protocol
Spatial DBMS infousing the Geocouch extension
Search engine
Time Series DBMS
Vector DBMS
Document store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score16.74
Rank#33  Overall
#5  Document stores
Score2.69
Rank#101  Overall
#51  Relational DBMS
Score0.55
Rank#243  Overall
#38  Document stores
Score123.05
Rank#9  Overall
#6  Relational DBMS
Websitewww.couchbase.comcloud.google.com/­spannerwww.harperdb.iowww.ibm.com/­products/­db2
Technical documentationdocs.couchbase.comcloud.google.com/­spanner/­docsdocs.harperdb.io/­docswww.ibm.com/­docs/­en/­db2
DeveloperCouchbase, Inc.GoogleHarperDBIBM
Initial release2011201720171983 infohost version
Current releaseServer: 7.2, June 2023; Mobile: 3.1, March 2022; Couchbase Capella (DBaaS), June 20233.1, August 202112.1, October 2016
License infoCommercial or Open SourceOpen Source infoBusiness Source License (BSL 1.1); Commercial licenses also availablecommercialcommercial infofree community edition availablecommercial infofree version is available
Cloud-based only infoOnly available as a cloud servicenoyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageC, C++, Go and ErlangNode.jsC and C++
Server operating systemsLinux
OS X
Windows
hostedLinux
OS X
AIX
HP-UX
Linux
Solaris
Windows
z/OS
Data schemeschema-freeyesdynamic schemayes
Typing infopredefined data types such as float or dateyesyesyes infoJSON data 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.nono
Secondary indexesyesyesyesyes
SQL infoSupport of SQLSQL++, extends ANSI SQL to JSON for operational, transactional, and analytic use casesyes infoQuery statements complying to ANSI 2011SQL-like data manipulation statementsyes
APIs and other access methodsCLI Client
HTTP REST
Kafka Connector
Native language bindings for CRUD, Query, Search and Analytics APIs
Spark Connector
Spring Data
gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
JDBC
ODBC
React Hooks
RESTful HTTP/JSON API
WebSocket
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
Supported programming languages.Net
C
Go
Java
JavaScript infoNode.js
Kotlin
PHP
Python
Ruby
Scala
Go
Java
JavaScript (Node.js)
Python
.Net
C
C#
C++
ColdFusion
D
Dart
Delphi
Erlang
Go
Haskell
Java
JavaScript (Node.js)
Lisp
MatLab
Objective C
Perl
PHP
PowerShell
Prolog
Python
R
Ruby
Rust
Scala
Swift
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
Server-side scripts infoStored proceduresFunctions and timers in JavaScript and UDFs in Java, Python, SQL++noCustom Functions infosince release 3.1yes
Triggersyes infovia the TAP protocolnonoyes
Partitioning methods infoMethods for storing different data on different nodesAutomatic ShardingShardingA table resides as a whole on one (or more) nodes in a clusterSharding infoonly with Windows/Unix/Linux Version
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication infoincluding cross data center replication
Source-replica replication
Multi-source replication with 3 replicas for regional instances.yes infothe nodes on which a table resides can be definedyes infowith separate tools (MQ, InfoSphere)
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesyes infousing Google Cloud Dataflownono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infoselectable on a per-operation basis
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integritynoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACID infoStrict serializable isolationAtomic execution of specific operationsACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyes, using LMDByes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yes infoEphemeral bucketsnoyes
User concepts infoAccess controlUser and Administrator separation with password-based and LDAP integrated Authentication. Role-base access control.Access rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Access rights for users and rolesfine grained access rights according to SQL-standard

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
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

More resources
Couchbase infoOriginally called MembaseGoogle Cloud SpannerHarperDBIBM Db2 infoformerly named DB2 or IBM Database 2
DB-Engines blog posts

Couchbase climbs up the DB-Engines Ranking, increasing its popularity by 10% every month
2 June 2014, Matthias Gelbmann

show all

Recent citations in the news

Edward Anderson Spends US$298k Buying Couchbase Shares
26 September 2024, Simply Wall St

EVR Research LP Acquires 179,585 Shares of Couchbase, Inc. (NASDAQ:BASE)
26 September 2024, MarketBeat

Couchbase’s stock crumbles on anticipation of significant growth slowdown
4 September 2024, SiliconANGLE News

Couchbase director Anderson buys $298k in company stock
23 September 2024, Investing.com

Couchbase reports 20% Q2 revenue growth, though analysts expected more
9 September 2024, Blocks & Files

provided by Google News

Google Cloud Spanner gets dual-region configuration option
23 July 2024, InfoWorld

Google Cloud adds graph and vector search features to Spanner database
2 August 2024, Techzine Europe

Google Cloud Enhances Spanner with Dual-Region Configuration
1 August 2024, InfoQ.com

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

Google Cloud expands its database portfolio with new AI capabilities
1 August 2024, TechCrunch

provided by Google News

HarperDB Attracts Significant Growth Investment from Serent Capital
12 June 2024, Business Wire

Defense Innovation Unit Issues Success Memo to HarperDB for its Common Operation Database Prototype
11 September 2024, PR Newswire

DoD Successfully Deploys Commercial AI Solutions for COD Project
10 September 2024, Defense Innovation Unit

Serent Capital invests in software firm HarperDB
12 June 2024, PE Hub

HarperDB Receives Growth Investment from Serent Capital
12 June 2024, FinSMEs

provided by Google News

Db2 is a story worth telling, even if IBM won't
4 July 2024, The Register

Anonymizing Your Data in Db2 for Better Testing and Development
26 September 2024, Security Boulevard

Data migration strategies to Amazon RDS for Db2
15 May 2024, AWS Blog

Six new Db2 capabilities DBAs must try today with Db2 11.5.9
9 April 2024, IBM

Using Oracle Cloud Infrastructure (OCI) GoldenGate with Db2 for z Database
31 May 2024, blogs.oracle.com

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.

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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

Milvus logo

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

SingleStore logo

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

Present your product here