DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > 4D vs. Badger vs. CockroachDB vs. IBM Db2 Event Store vs. TiDB

System Properties Comparison 4D vs. Badger vs. CockroachDB vs. IBM Db2 Event Store vs. TiDB

Editorial information provided by DB-Engines
Name4D infoformer name: 4th Dimension  Xexclude from comparisonBadger  Xexclude from comparisonCockroachDB  Xexclude from comparisonIBM Db2 Event Store  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionApplication development environment with integrated database management systemAn embeddable, persistent, simple and fast Key-Value Store, written purely in Go.CockroachDB 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.Distributed Event Store optimized for Internet of Things use casesTiDB 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 DBMSKey-value storeRelational DBMSEvent Store
Time Series DBMS
Relational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.37
Rank#110  Overall
#54  Relational DBMS
Score0.14
Rank#328  Overall
#48  Key-value stores
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score0.18
Rank#315  Overall
#2  Event Stores
#26  Time Series DBMS
Score4.09
Rank#72  Overall
#38  Relational DBMS
Websitewww.4d.comgithub.com/­dgraph-io/­badgerwww.cockroachlabs.comwww.ibm.com/­products/­db2-event-storepingcap.com
Technical documentationdeveloper.4d.comgodoc.org/­github.com/­dgraph-io/­badgerwww.cockroachlabs.com/­docswww.ibm.com/­docs/­en/­db2-event-storedocs.pingcap.com/­tidb/­stable
Developer4D, IncDGraph LabsCockroach LabsIBMPingCAP, Inc.
Initial release19842017201520172016
Current releasev20, April 202324.1.0, May 20242.08.2.0, July 2024
License infoCommercial or Open SourcecommercialOpen Source infoApache 2.0Open Source infoApache 2.0, commercial license availablecommercial infofree developer edition availableOpen 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 languageGoGoC and C++Go, Rust
Server operating systemsOS X
Windows
BSD
Linux
OS X
Solaris
Windows
Linux
macOS
Windows
Linux infoLinux, macOS, Windows for the developer additionLinux
Data schemeyesschema-freedynamic schemayesyes
Typing infopredefined data types such as float or dateyesnoyesyesyes
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.yesnononono
Secondary indexesyesnoyesnoyes
SQL infoSupport of SQLyes infoclose to SQL 92noyes, wire compatible with PostgreSQLyes infothrough the embedded Spark runtimeyes
APIs and other access methodsODBC
RESTful HTTP API infoby using 4D Mobile
SOAP webservices
JDBCADO.NET
DB2 Connect
JDBC
ODBC
RESTful HTTP API
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languages4D proprietary IDE
PHP
GoC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C
C#
C++
Cobol
Delphi
Fortran
Go
Java
JavaScript (Node.js)
Perl
PHP
Python
R
Ruby
Scala
Visual Basic
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 proceduresyesnonoyesno
Triggersyesnononono
Partitioning methods infoMethods for storing different data on different nodesnonenonehorizontal 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 RAFTShardinghorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replicationnoneMulti-source replication using RAFTActive-active shard replicationUsing 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 ConsistencynoneImmediate ConsistencyEventual ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnoyesnoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDnoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesNo - written data is immutableyes
Durability infoSupport for making data persistentyesyesyesYes - Synchronous writes to local disk combined with replication and asynchronous writes in parquet format to permanent shared storageyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nononoyesno
User concepts infoAccess controlUsers and groupsnoRole-based access controlfine grained access rights according to SQL-standardFine grained access rights according to SQL-standard
More information provided by the system vendor
4D infoformer name: 4th DimensionBadgerCockroachDBIBM Db2 Event StoreTiDB
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
4D infoformer name: 4th DimensionBadgerCockroachDBIBM Db2 Event StoreTiDB
DB-Engines blog posts

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

Recent citations in the news

Dgraph raises $11.5 million for scalable graph database solutions
31 July 2019, VentureBeat

provided by Google News

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

CockroachDB scuttles away from open source Core offering
19 August 2024, The Register

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.com

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

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

provided by Google News

Mudhakar Srivatsa
11 December 2023, IBM Research

Best cloud databases of 2022
4 October 2022, ITPro

IBM Confronts AI Resistance
23 October 2019, RTInsights

Why a robust data management strategy is essential today | IBM HDM
19 September 2019, Express Computer

How IBM Is Turning Db2 into an ‘AI Database’
3 June 2019, Datanami

provided by Google News

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

Unlocking performance, scalability, and cost-efficiency of Zomato’s Billing Platform by switching from TiDB to DynamoDB
22 December 2023, AWS Blog

TiDB Can Do What MongoDB or CockRoachDB Can’t
27 June 2024, AIM

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

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

provided by Google News



Share this page

Featured Products

SingleStore logo

The data platform to build your intelligent applications.
Try it 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.

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Present your product here