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

DBMS > Badger vs. Dgraph vs. H2 vs. SQLite vs. TiDB

System Properties Comparison Badger vs. Dgraph vs. H2 vs. SQLite vs. TiDB

Editorial information provided by DB-Engines
NameBadger  Xexclude from comparisonDgraph  Xexclude from comparisonH2  Xexclude from comparisonSQLite  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionAn embeddable, persistent, simple and fast Key-Value Store, written purely in Go.Distributed and scalable native Graph DBMSFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Widely used embeddable, in-process RDBMSTiDB 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 storeGraph DBMSRelational DBMSRelational DBMSRelational DBMS
Secondary database modelsSpatial DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.22
Rank#320  Overall
#47  Key-value stores
Score1.53
Rank#152  Overall
#15  Graph DBMS
Score8.33
Rank#46  Overall
#30  Relational DBMS
Score111.41
Rank#10  Overall
#7  Relational DBMS
Score4.25
Rank#74  Overall
#40  Relational DBMS
Websitegithub.com/­dgraph-io/­badgerdgraph.iowww.h2database.comwww.sqlite.orgpingcap.com
Technical documentationgodoc.org/­github.com/­dgraph-io/­badgerdgraph.io/­docswww.h2database.com/­html/­main.htmlwww.sqlite.org/­docs.htmldocs.pingcap.com/­tidb/­stable
DeveloperDGraph LabsDgraph Labs, Inc.Thomas MuellerDwayne Richard HippPingCAP, Inc.
Initial release20172016200520002016
Current release2.2.220, July 20233.46.0  (23 May 2024), May 20248.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoApache 2.0Open Source infodual-licence (Mozilla public license, Eclipse public license)Open Source infoPublic DomainOpen 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 languageGoGoJavaCGo, Rust
Server operating systemsBSD
Linux
OS X
Solaris
Windows
Linux
OS X
Windows
All OS with a Java VMserver-lessLinux
Data schemeschema-freeschema-freeyesyes infodynamic column typesyes
Typing infopredefined data types such as float or datenoyesyesyes infonot rigid because of 'dynamic typing' concept.yes
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.nonononono
Secondary indexesnoyesyesyesyes
SQL infoSupport of SQLnonoyesyes infoSQL-92 is not fully supportedyes
APIs and other access methodsGraphQL query language
gRPC (using protocol buffers) API
HTTP API
JDBC
ODBC
ADO.NET infoinofficial driver
JDBC infoinofficial driver
ODBC infoinofficial driver
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesGoC#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
JavaActionscript
Ada
Basic
C
C#
C++
D
Delphi
Forth
Fortran
Haskell
Java
JavaScript
Lisp
Lua
MatLab
Objective-C
OCaml
Perl
PHP
PL/SQL
Python
R
Ruby
Scala
Scheme
Smalltalk
Tcl
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 proceduresnonoJava Stored Procedures and User-Defined Functionsnono
Triggersnonoyesyesno
Partitioning methods infoMethods for storing different data on different nodesnoneyesnonenonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesnoneSynchronous replication via RaftWith clustering: 2 database servers on different computers operate on identical copies of a databasenoneUsing 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 systemnoneImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynonoyesyesyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes, multi-version concurrency control (MVCC)yes infovia file-system locksyes
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.noyesyesno
User concepts infoAccess controlnono infoPlanned for future releasesfine grained access rights according to SQL-standardnoFine grained access rights according to SQL-standard
More information provided by the system vendor
BadgerDgraphH2SQLiteTiDB
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
3rd partiesNavicat for SQLite is a powerful and comprehensive SQLite GUI that provides a complete set of functions for database management and development.
» more

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

More resources
BadgerDgraphH2SQLiteTiDB
DB-Engines blog posts

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

show all

Recent citations in the news

Dgraph on AWS: Setting up a horizontally scalable graph database | Amazon Web Services
1 September 2020, AWS Blog

Popular Open Source GraphQL Company Dgraph Secures $6M in Seed Round with New Leadership
20 July 2022, PR Newswire

Dgraph Raises $6M in Seed Funding
20 July 2022, FinSMEs

Dgraph Rises to the Top Graph Database on GitHub With 11 G2 Badges and 11M Downloads
26 May 2021, Business Wire

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

provided by Google News

Microsoft Research chief scientist has no issue with Windows Recall
6 June 2024, The Register

How to work with Dapper and SQLite in ASP.NET Core
10 May 2024, InfoWorld

How to Work with SQLite Database in Python
8 June 2024, Analytics Insight

A Guide to Working with SQLite Databases in Python
21 May 2024, KDnuggets

SQLite Vulnerability Could Put Thousands of Apps at Risk
22 March 2024, Dark Reading

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

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

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

provided by Google News



Share this page

Featured Products

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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

Neo4j logo

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

Present your product here