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

DBMS > CockroachDB vs. HarperDB vs. IBM Db2

System Properties Comparison CockroachDB vs. HarperDB vs. IBM Db2

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonHarperDB  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.Ultra-low latency distributed database with an intuitive REST API supporting NoSQL and SQL (including joins). Deployment of functions and databases simultaneously with a consolidated node-level architecture.Common in IBM host environments, 2 different versions for host and Windows/Linux
Primary database modelRelational DBMSDocument storeRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDB
Secondary database modelsDocument 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.39
Rank#60  Overall
#34  Relational DBMS
Score0.55
Rank#255  Overall
#39  Document stores
Score127.75
Rank#8  Overall
#5  Relational DBMS
Websitewww.cockroachlabs.comharperdb.iowww.ibm.com/­products/­db2
Technical documentationwww.cockroachlabs.com/­docsharperdb.io/­developers/­documentation/­overviewwww.ibm.com/­docs/­en/­db2
DeveloperCockroach LabsHarperDBIBM
Initial release201520171983 infohost version
Current release23.1.1, May 20233.1, August 202112.1, October 2016
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercial infofree community edition availablecommercial infofree version is available
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
CockroachDB: A cloud-native, distributed SQL database designed for speed, scale, and survival. Get started for free today with a fully-managed CockroachDB cluster -- leave operations behind and get your app to market faster.
Implementation languageGoNode.jsC and C++
Server operating systemsLinux
macOS
Windows
Linux
OS X
AIX
HP-UX
Linux
Solaris
Windows
z/OS
Data schemedynamic schemadynamic schemayes
Typing infopredefined data types such as float or dateyesyes 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 indexesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like data manipulation statementsyes
APIs and other access methodsJDBCJDBC
ODBC
React Hooks
RESTful HTTP/JSON API
WebSocket
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
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 proceduresnoCustom Functions infosince release 3.1yes
Triggersnonoyes
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 RAFTA 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 using RAFTyes infothe nodes on which a table resides can be definedyes infowith separate tools (MQ, InfoSphere)
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDAtomic execution of specific operationsACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyes, using LMDByes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes
User concepts infoAccess controlRole-based access controlAccess rights for users and rolesfine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBHarperDBIBM Db2 infoformerly named DB2 or IBM Database 2
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
Typical application scenariosPayment processing, user account management, metadata management, identity access...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, Netflix, LUSH, Bose, Shipt,...
» more
Market metrics12K+ long-running clusters 25K+ CockroachDB self-hosted clusters 75K+ CockroachDB...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» 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

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

More resources
CockroachDBHarperDBIBM Db2 infoformerly named DB2 or IBM Database 2
Recent citations in the news

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

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

CockroachDB's Latest Enhancements Focus on Resilience
18 January 2024, Database Trends and Applications

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

provided by Google News

Startups of the Year 2023: Meet HarperDB - A Database and Application Development Platform
22 June 2023, hackernoon.com

Meet HarperDB, Winner of the Startups of the Year in Denver
9 February 2024, hackernoon.com

Unlocking immersive golfing experiences with AWS Wavelength | Amazon Web Services
29 November 2022, AWS Blog

HarperDB: An underdog SQL / NoSQL database | ZDNET
7 February 2018, ZDNet

Build a Hacker News Clone using React and HarperDB — SitePoint
18 October 2021, SitePoint

provided by Google News

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

Getting started with new Amazon RDS for Db2 | Amazon Web Services
27 November 2023, AWS Blog

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

How Amazon RDS for IBM Db2 Showcases the Power of Co-Creation
21 December 2023, Acceleration Economy

Amazon RDS Now Supports IBM Db2
16 December 2023, InfoQ.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.

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Milvus logo

The open source vector database for GenAI.
Try Managed Milvus Free

SingleStore logo

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

Present your product here