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

DBMS > CockroachDB vs. EsgynDB vs. H2 vs. HyperSQL vs. IBM Db2

System Properties Comparison CockroachDB vs. EsgynDB vs. H2 vs. HyperSQL vs. IBM Db2

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonEsgynDB  Xexclude from comparisonH2  Xexclude from comparisonHyperSQL infoalso known as HSQLDB  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.Enterprise-class SQL-on-Hadoop solution, powered by Apache TrafodionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Multithreaded, transactional RDBMS written in Java infoalso known as HSQLDBCommon in IBM host environments, 2 different versions for host and Windows/Linux
Primary database modelRelational DBMSRelational DBMSRelational DBMSRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDB
Secondary database modelsSpatial 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
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score0.25
Rank#312  Overall
#138  Relational DBMS
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score3.23
Rank#93  Overall
#48  Relational DBMS
Score125.90
Rank#9  Overall
#6  Relational DBMS
Websitewww.cockroachlabs.comwww.esgyn.cnwww.h2database.comhsqldb.orgwww.ibm.com/­products/­db2
Technical documentationwww.cockroachlabs.com/­docswww.h2database.com/­html/­main.htmlhsqldb.org/­web/­hsqlDocsFrame.htmlwww.ibm.com/­docs/­en/­db2
DeveloperCockroach LabsEsgynThomas MuellerIBM
Initial release20152015200520011983 infohost version
Current release24.1.0, May 20242.2.220, July 20232.7.2, June 202312.1, October 2016
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialOpen Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infobased on BSD licensecommercial infofree version is available
Cloud-based only infoOnly available as a cloud servicenonononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageGoC++, JavaJavaJavaC and C++
Server operating systemsLinux
macOS
Windows
LinuxAll OS with a Java VMAll OS with a Java VM infoEmbedded (into Java applications) and Client-Server operating modesAIX
HP-UX
Linux
Solaris
Windows
z/OS
Data schemedynamic schemayesyesyesyes
Typing infopredefined data types such as float or dateyesyesyesyesyes
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.nononono
Secondary indexesyesyesyesyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLyesyesyesyes
APIs and other access methodsJDBCADO.NET
JDBC
ODBC
JDBC
ODBC
HTTP API infoJDBC via HTTP
JDBC
ODBC
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
All languages supporting JDBC/ODBC/ADO.NetJavaAll languages supporting JDBC/ODBC
Java
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
Server-side scripts infoStored proceduresnoJava Stored ProceduresJava Stored Procedures and User-Defined FunctionsJava, SQLyes
Triggersnonoyesyesyes
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 RAFTShardingnonenoneSharding infoonly with Windows/Unix/Linux Version
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTMulti-source replication between multi datacentersWith clustering: 2 database servers on different computers operate on identical copies of a databasenoneyes infowith separate tools (MQ, InfoSphere)
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnonono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesyesyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyesyes
User concepts infoAccess controlRole-based access controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardfine 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

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

More resources
CockroachDBEsgynDBH2HyperSQL infoalso known as HSQLDBIBM Db2 infoformerly named DB2 or IBM Database 2
Recent citations in the news

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

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

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

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

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

provided by Google News

HyperSQL DataBase flaw leaves library vulnerable to RCE
24 October 2022, The Daily Swig

Introduction to JDBC with HSQLDB tutorial
14 November 2022, TheServerSide.com

provided by Google News

Stack-Overflow Vulnerability in IBM DB2 Universal Database 7.2 for Windows
2 June 2024, ITPro Today

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

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

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

provided by Google News



Share this page

Featured Products

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.

Present your product here