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. H2 vs. IBM Db2 vs. SAP Advantage Database Server vs. TiDB

System Properties Comparison CockroachDB vs. H2 vs. IBM Db2 vs. SAP Advantage Database Server vs. TiDB

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonH2  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonSAP Advantage Database Server infoformer name: Sybase ADS  Xexclude from comparisonTiDB  Xexclude from comparison
SAP Advantage Database Server seems to be discontinued. Therefore it is excluded from the DB-Engines Ranking.
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.Full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Common in IBM host environments, 2 different versions for host and Windows/LinuxLow-cost RDBMS with access to ISAM and FoxPro data structuresTiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Primary database modelRelational DBMSRelational DBMSRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMSRelational DBMS
Secondary database modelsSpatial DBMSDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score5.73
Rank#58  Overall
#34  Relational DBMS
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score125.90
Rank#9  Overall
#6  Relational DBMS
Score4.25
Rank#74  Overall
#40  Relational DBMS
Websitewww.cockroachlabs.comwww.h2database.comwww.ibm.com/­products/­db2www.sap.com/products/advantage-database-server.htmlpingcap.com
Technical documentationwww.cockroachlabs.com/­docswww.h2database.com/­html/­main.htmlwww.ibm.com/­docs/­en/­db2docs.pingcap.com/­tidb/­stable
DeveloperCockroach LabsThomas MuellerIBMSybase, SAPPingCAP, Inc.
Initial release201520051983 infohost version19932016
Current release24.1.0, May 20242.2.220, July 202312.1, October 20168.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infodual-licence (Mozilla public license, Eclipse public license)commercial infofree version is availablecommercialOpen Source infoApache 2.0
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.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGoJavaC and C++Go, Rust
Server operating systemsLinux
macOS
Windows
All OS with a Java VMAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
Windows
Linux
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 methodsJDBCJDBC
ODBC
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
.NET Client API
ADO.NET
JDBC
ODBC
OLE DB
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
JavaC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
Delphi
Perl
PHP
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresnoJava Stored Procedures and User-Defined Functionsyesyesno
Triggersnoyesyesyesno
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 RAFTnoneSharding infoonly with Windows/Unix/Linux Versionnonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTWith clustering: 2 database servers on different computers operate on identical copies of a databaseyes infowith separate tools (MQ, InfoSphere)Multi-source replication infoCONFLICT Trigger to resolve replication conflicts
Source-replica replication
Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonononoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesyesyesyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yesyesyes
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.noyesno infocaching of (temporary) tables can be configuredno
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
CockroachDBH2IBM Db2 infoformerly named DB2 or IBM Database 2SAP Advantage Database Server infoformer name: Sybase ADSTiDB
Specific characteristicsTiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantages- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosTiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersBlock, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metrics34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsTiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» 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
CockroachDBH2IBM Db2 infoformerly named DB2 or IBM Database 2SAP Advantage Database Server infoformer name: Sybase ADSTiDB
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

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

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

SAP Announces Q3 2023 Results: Asia Pacific and Japan View
19 October 2023, SAP News

provided by Google News

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

TiDB by PingCAP Leads Data Management Revolution at GIDS 2024, Empowering India's Burgeoning Developer ...
25 April 2024, CXOToday.com

Navigating Modern Data Challenges: Ed Huang, CTO of PingCAP on the Future of Distributed SQL Databases
10 June 2024, DATAQUEST

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

Milvus logo

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

Present your product here