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

DBMS > Badger vs. Elasticsearch vs. IBM Db2 vs. TiDB

System Properties Comparison Badger vs. Elasticsearch vs. IBM Db2 vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameBadger  Xexclude from comparisonElasticsearch  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionAn embeddable, persistent, simple and fast Key-Value Store, written purely in Go.A distributed, RESTful modern search and analytics engine based on Apache Lucene infoElasticsearch lets you perform and combine many types of searches such as structured, unstructured, geo, and metricCommon in IBM host environments, 2 different versions for host and Windows/LinuxTiDB 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 modelKey-value storeSearch engineRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Document 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
Score0.14
Rank#328  Overall
#48  Key-value stores
Score128.79
Rank#8  Overall
#1  Search engines
Score123.05
Rank#9  Overall
#6  Relational DBMS
Score4.09
Rank#72  Overall
#38  Relational DBMS
Websitegithub.com/­dgraph-io/­badgerwww.elastic.co/­elasticsearchwww.ibm.com/­products/­db2pingcap.com
Technical documentationgodoc.org/­github.com/­dgraph-io/­badgerwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.ibm.com/­docs/­en/­db2docs.pingcap.com/­tidb/­stable
DeveloperDGraph LabsElasticIBMPingCAP, Inc.
Initial release201720101983 infohost version2016
Current release8.6, January 202312.1, October 20168.2.0, July 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoElastic Licensecommercial infofree version is availableOpen Source infoApache 2.0
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.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGoJavaC and C++Go, Rust
Server operating systemsBSD
Linux
OS X
Solaris
Windows
All OS with a Java VMAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
Data schemeschema-freeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesyes
Typing infopredefined data types such as float or datenoyesyesyes
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.nonono
Secondary indexesnoyes infoAll search fields are automatically indexedyesyes
SQL infoSupport of SQLnoSQL-like query languageyesyes
APIs and other access methodsJava API
RESTful HTTP/JSON API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesGo.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
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 proceduresnoyesyesno
Triggersnoyes infoby using the 'percolation' featureyesno
Partitioning methods infoMethods for storing different data on different nodesnoneShardingSharding infoonly with Windows/Unix/Linux Versionhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesnoneyesyes infowith separate tools (MQ, InfoSphere)Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoES-Hadoop Connectornoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneEventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allImmediate Consistency
Foreign keys infoReferential integritynonoyesyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanonoACIDACID
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.noMemcached and Redis integrationno
User concepts infoAccess controlnofine grained access rights according to SQL-standardFine grained access rights according to SQL-standard
More information provided by the system vendor
BadgerElasticsearchIBM Db2 infoformerly named DB2 or IBM Database 2TiDB
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
BadgerElasticsearchIBM Db2 infoformerly named DB2 or IBM Database 2TiDB
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

Elasticsearch moved into the top 10 most popular database management systems
3 July 2017, Matthias Gelbmann

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

AWS hands OpenSearch to Linux Foundation – is this why Elasticsearch was made open source again?
16 September 2024, DevClass

The Elasticsearch cloud now subject to open-source licence
3 September 2024, TechHQ

Unsecured Elasticsearch cluster exposes over 3M vehicle records
18 September 2024, SC Media

Elasticsearch Open Inference API Extends Support for Hugging Face Models with Semantic Text
12 September 2024, Yahoo Finance

Partnership between Google Cloud and Elasticsearch helps customers solve big data problems with generative AI
24 July 2024, SiliconANGLE News

provided by Google News

Db2 is a story worth telling, even if IBM won't
4 July 2024, The Register

Anonymizing Your Data in Db2 for Better Testing and Development
26 September 2024, Security Boulevard

Data migration strategies to Amazon RDS for Db2
15 May 2024, AWS Blog

Six new Db2 capabilities DBAs must try today with Db2 11.5.9
9 April 2024, IBM

Using Oracle Cloud Infrastructure (OCI) GoldenGate with Db2 for z Database
31 May 2024, blogs.oracle.com

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

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

Neo4j logo

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

Milvus logo

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

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

RaimaDB logo

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

Present your product here