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 > CockroachDB vs. Couchbase vs. CrateDB vs. IBM Db2

System Properties Comparison CockroachDB vs. Couchbase vs. CrateDB vs. IBM Db2

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonCouchbase infoOriginally called Membase  Xexclude from comparisonCrateDB  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparison
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.A distributed document store with integrated cache, a powerful search engine, in-built operational and analytical capabilities, and an embedded mobile databaseDistributed Database based on LuceneCommon in IBM host environments, 2 different versions for host and Windows/Linux
Primary database modelRelational DBMSDocument storeDocument store
Spatial DBMS
Search engine
Time Series DBMS
Vector DBMS
Relational 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
Relational DBMSDocument 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
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score17.30
Rank#36  Overall
#5  Document stores
Score0.73
Rank#224  Overall
#37  Document stores
#5  Spatial DBMS
#16  Search engines
#19  Time Series DBMS
#8  Vector DBMS
Score128.46
Rank#8  Overall
#5  Relational DBMS
Websitewww.cockroachlabs.comwww.couchbase.comcratedb.comwww.ibm.com/­products/­db2
Technical documentationwww.cockroachlabs.com/­docsdocs.couchbase.comcratedb.com/­docswww.ibm.com/­docs/­en/­db2
DeveloperCockroach LabsCouchbase, Inc.CrateIBM
Initial release2015201120131983 infohost version
Current release23.1.1, May 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 2.0, commercial license availableOpen Source infoBusiness Source License (BSL 1.1); Commercial licenses also availableOpen Sourcecommercial infofree version is available
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
CrateDB Cloud: a distributed SQL database that spreads data and processing across an elastic cluster of shared nothing nodes. CrateDB Cloud enables data insights at scale on Microsoft Azure, AWS and Google Cloud Platform.
Implementation languageGoC, C++, Go and ErlangJavaC and C++
Server operating systemsLinux
macOS
Windows
Linux
OS X
Windows
All Operating Systems, including Kubernetes with CrateDB Kubernetes Operator supportAIX
HP-UX
Linux
Solaris
Windows
z/OS
Data schemedynamic schemaschema-freeFlexible Schema (defined schema, partial schema, schema free)yes
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 indexesyesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL++, extends ANSI SQL to JSON for operational, transactional, and analytic use casesyes, but no triggers and constraints, and PostgreSQL compatibilityyes
APIs and other access methodsJDBCCLI Client
HTTP REST
Kafka Connector
Native language bindings for CRUD, Query, Search and Analytics APIs
Spark Connector
Spring Data
ADO.NET
JDBC
ODBC
PostgreSQL wire protocol
Prometheus Remote Read/Write
RESTful HTTP API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
C
Go
Java
JavaScript infoNode.js
Kotlin
PHP
Python
Ruby
Scala
.NET
Erlang
Go infocommunity maintained client
Java
JavaScript (Node.js) infocommunity maintained client
Perl infocommunity maintained client
PHP
Python
R
Ruby infocommunity maintained client
Scala infocommunity maintained client
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++user defined functions (Javascript)yes
Triggersnoyes infovia the TAP protocolnoyes
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTAutomatic ShardingShardingSharding infoonly with Windows/Unix/Linux Version
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication infoincluding cross data center replication
Source-replica replication
Configurable replication on table/partition-levelyes infowith separate tools (MQ, InfoSphere)
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Immediate Consistency infoselectable on a per-operation basis
Eventual Consistency
Read-after-write consistency on record level
Foreign keys infoReferential integrityyesnonoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDno infounique row identifiers can be used for implementing an optimistic concurrency control strategyACID
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 controlRole-based access controlUser and Administrator separation with password-based and LDAP integrated Authentication. Role-base access control.rights management via user accountsfine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBCouchbase infoOriginally called MembaseCrateDBIBM Db2 infoformerly named DB2 or IBM Database 2
Specific characteristicsThe enterprise database for time series, documents, and vectors. Distributed - Native...
» more
Competitive advantagesResponse time in milliseconds: e ven for complex ad-hoc queries. Massive scaling...
» more
Typical application scenarios​ IoT: accelerate your IIoT projects with CrateDB, delivering real-time analytics...
» more
Key customersAcross all continents, CrateDB is used by companies of all sizes to meet the most...
» more
Market metricsThe CrateDB open source project was started in 2013 Honorable Mention in 2021 Gartner®...
» more
Licensing and pricing modelsSee CrateDB pricing >
» 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

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

More resources
CockroachDBCouchbase infoOriginally called MembaseCrateDBIBM 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

CockroachDB 23.2 Enhances Enterprise Architectures with Improved Postgres Compatibility and Built-in Resilience
18 January 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

provided by Google News

Institutional investors are Couchbase, Inc.'s (NASDAQ:BASE) biggest bettors and were rewarded after last week's US ...
8 May 2024, Yahoo Finance

SQL's dad says yes to NoSQL
13 May 2024, Fudzilla

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

Stay ahead of the game by future-proofing data management with Krishna Thirtha
13 May 2024, YourStory

Couchbase's revenue grows 20% and its stock rises in extended trading
5 March 2024, SiliconANGLE News

provided by Google News

CrateDB Appoints Sergey Gerasimenko as New CTO
19 February 2024, PR Newswire

CrateDB Announces Availability of CrateDB on Google Cloud Marketplace
8 April 2024, Datanami

CrateDB Partners with HiveMQ to Deliver a Seamless Data Management Architecture for IoT
25 March 2024, PR Newswire

How We Designed CrateDB as a Realtime SQL DBMS for the Internet of Things
29 August 2017, The New Stack

Crate.io unboxes clustered SQL CrateDB, decamps to California
14 December 2016, The Register

provided by Google News

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

Performance optimization of full load and ongoing replication tasks from self-managed Db2 to Amazon RDS for Db2 ...
24 April 2024, AWS Blog

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

Celebrating 40 years of Db2: Running the world's mission critical workloads
11 September 2023, IBM

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

provided by Google News



Share this page

Featured Products

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

Neo4j logo

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

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

Present your product here