DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

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

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

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCassandra  Xexclude from comparisonCouchbase infoOriginally called Membase  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparison
DescriptionWide-column store based on ideas of BigTable and DynamoDB infoOptimized for write accessA 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.Common in IBM host environments, 2 different versions for host and Windows/Linux
Primary database modelWide column storeDocument storeRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDB
Secondary database modelsVector DBMS infostarting with release V5Key-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
Score98.83
Rank#12  Overall
#1  Wide column stores
Score16.59
Rank#36  Overall
#5  Document stores
Score2.84
Rank#100  Overall
#51  Relational DBMS
Score125.90
Rank#9  Overall
#6  Relational DBMS
Websitecassandra.apache.orgwww.couchbase.comcloud.google.com/­spannerwww.ibm.com/­products/­db2
Technical documentationcassandra.apache.org/­doc/­latestdocs.couchbase.comcloud.google.com/­spanner/­docswww.ibm.com/­docs/­en/­db2
DeveloperApache Software Foundation infoApache top level project, originally developped by FacebookCouchbase, Inc.GoogleIBM
Initial release2008201120171983 infohost version
Current release4.1.3, July 2023Server: 7.2, June 2023; Mobile: 3.1, March 2022; Couchbase Capella (DBaaS), June 202312.1, October 2016
License infoCommercial or Open SourceOpen Source infoApache version 2Open Source infoBusiness Source License (BSL 1.1); Commercial licenses also availablecommercialcommercial infofree version is available
Cloud-based only infoOnly available as a cloud servicenonoyesno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Astra DB: Multi-cloud DBaaS built on Apache Cassandra.
Implementation languageJavaC, C++, Go and ErlangC and C++
Server operating systemsBSD
Linux
OS X
Windows
Linux
OS X
Windows
hostedAIX
HP-UX
Linux
Solaris
Windows
z/OS
Data schemeschema-freeschema-freeyesyes
Typing infopredefined data types such as float or dateyesyesyesyes
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 indexesrestricted infoonly equality queries, not always the best performing solutionyesyesyes
SQL infoSupport of SQLSQL-like SELECT, DML and DDL statements (CQL)SQL++, extends ANSI SQL to JSON for operational, transactional, and analytic use casesyes infoQuery statements complying to ANSI 2011yes
APIs and other access methodsProprietary protocol infoCQL (Cassandra Query Language, an SQL-like language)
Thrift
CLI 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
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
Supported programming languagesC#
C++
Clojure
Erlang
Go
Haskell
Java
JavaScript infoNode.js
Perl
PHP
Python
Ruby
Scala
.Net
C
Go
Java
JavaScript infoNode.js
Kotlin
PHP
Python
Ruby
Scala
Go
Java
JavaScript (Node.js)
Python
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
Server-side scripts infoStored proceduresnoFunctions and timers in JavaScript and UDFs in Java, Python, SQL++noyes
Triggersyesyes infovia the TAP protocolnoyes
Partitioning methods infoMethods for storing different data on different nodesSharding infono "single point of failure"Automatic ShardingShardingSharding infoonly with Windows/Unix/Linux Version
Replication methods infoMethods for redundantly storing data on multiple nodesselectable replication factor infoRepresentation of geographical distribution of servers is possibleMulti-source replication infoincluding cross data center replication
Source-replica replication
Multi-source replication with 3 replicas for regional instances.yes infowith separate tools (MQ, InfoSphere)
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesyesyes infousing Google Cloud Dataflowno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Eventual Consistency
Immediate Consistency infoselectable on a per-operation basis
Immediate Consistency
Foreign keys infoReferential integritynonoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoAtomicity and isolation are supported for single operationsACIDACID infoStrict serializable isolationACID
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.noyes infoEphemeral bucketsno
User concepts infoAccess controlAccess rights for users can be defined per objectUser 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)fine grained access rights according to SQL-standard
More information provided by the system vendor
CassandraCouchbase infoOriginally called MembaseGoogle Cloud SpannerIBM Db2 infoformerly named DB2 or IBM Database 2
Specific characteristicsApache Cassandra is the leading NoSQL, distributed database management system, well...
» more
Competitive advantagesNo single point of failure ensures 100% availability . Operational simplicity for...
» more
Typical application scenariosInternet of Things (IOT), fraud detection applications, recommendation engines, product...
» more
Key customersApple, Netflix, Uber, ING,, Intuit,Fidelity, NY Times, Outbrain, BazaarVoice, Best...
» more
Market metricsCassandra is used by 40% of the Fortune 100.
» more
Licensing and pricing modelsApache license  Pricing for commercial distributions provided by DataStax and available...
» more
News

An Introduction to David Jones-Gilardi, Developer Relations
11 June 2024

Introducing Tejas Kumar, Developer Relations Engineer
7 June 2024

Indexing All of Wikipedia on a Laptop
5 June 2024

An Introduction to Phil Nash, Developer Relations
3 June 2024

Focus on Creativity, Not Clusters: DataStax Mission Control in Action!
30 May 2024

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

Cassandra Forward event: Want to level up your Cassandra game? Watch now replays of the March 2023 sessions.
» more
CData: 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
CassandraCouchbase infoOriginally called MembaseGoogle Cloud SpannerIBM Db2 infoformerly named DB2 or IBM Database 2
DB-Engines blog posts

Cassandra keeps climbing the ranks of the DB-Engines Ranking
3 May 2016, Matthias Gelbmann

Oracle is the DBMS of the Year
5 January 2016, Paul Andlinger, Matthias Gelbmann

Winners, losers and an attractive newcomer in Novembers DB-Engines ranking
2 November 2015, Paul Andlinger

show all

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

Cassandra is the “best f*cking database for gen AI,” says DataStax CEO
13 December 2023, VentureBeat

Here's What to Know About Apache Cassandra 5.0
15 April 2024, hackernoon.com

DataStax Enterprise 4.0 Gives in-Memory Option to Cassandra
31 May 2024, Data Center Knowledge

How Uber Optimized Cassandra Operations At Scale
20 July 2023, Uber

Microsoft extends life support for aging Apache Cassandra 3.11 database
10 October 2023, The Register

provided by Google News

Database company Couchbase cruises to another solid earnings and revenue beat
5 June 2024, SiliconANGLE News

Couchbase Announces New Features to Accelerate AI-Powered Adaptive Applications for Customers
29 February 2024, PR Newswire

Couchbase (BASE) To Report Earnings Tomorrow: Here Is What To Expect
4 June 2024, Yahoo Finance

Couchbase Server and Capella to gain vector support
1 March 2024, InfoWorld

Couchbase, Inc. (BASE) Tops Q1 EPS by 5c; offers outlook
5 June 2024, StreetInsider.com

provided by Google News

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

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

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

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

SAP and IBM Expand Partnership, Introduce Optimized DB2 Database
14 June 2024, br.ADVFN.com

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

Infotel Returns to IDUG North America 2024 in Charlotte to Showcase Latest Db2 Solutions and Feature Presentation ...
13 June 2024, PR Web

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, precisely.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.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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

Present your product here