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

DBMS > Badger vs. ClickHouse vs. Redis vs. TiDB vs. TypeDB

System Properties Comparison Badger vs. ClickHouse vs. Redis vs. TiDB vs. TypeDB

Editorial information provided by DB-Engines
NameBadger  Xexclude from comparisonClickHouse  Xexclude from comparisonRedis  Xexclude from comparisonTiDB  Xexclude from comparisonTypeDB infoformerly named Grakn  Xexclude from comparison
DescriptionAn embeddable, persistent, simple and fast Key-Value Store, written purely in Go.A high-performance, column-oriented SQL DBMS for online analytical processing (OLAP) that uses all available system resources to their full potential to process each analytical query as fast as possible. It is available as both an open-source software and a cloud offering.Popular in-memory data platform used as a cache, message broker, and database that can be deployed on-premises, across clouds, and hybrid environments infoRedis focuses on performance so most of its design decisions prioritize high performance and very low latencies.TiDB 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.TypeDB is a strongly-typed database with a rich and logical type system and TypeQL as its query language
Primary database modelKey-value storeRelational DBMSKey-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistenceRelational DBMSGraph DBMS
Relational DBMS infoOften described as a 'hyper-relational' database, since it implements the 'Entity-Relationship Paradigm' to manage complex data structures and ontologies.
Secondary database modelsTime Series DBMSDocument store infowith RedisJSON
Graph DBMS infowith RedisGraph
Spatial DBMS
Search engine infowith RediSearch
Time Series DBMS infowith RedisTimeSeries
Vector DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.14
Rank#331  Overall
#49  Key-value stores
Score16.34
Rank#38  Overall
#23  Relational DBMS
Score157.80
Rank#6  Overall
#1  Key-value stores
Score4.66
Rank#70  Overall
#38  Relational DBMS
Score0.65
Rank#234  Overall
#20  Graph DBMS
#107  Relational DBMS
Websitegithub.com/­dgraph-io/­badgerclickhouse.comredis.com
redis.io
pingcap.comtypedb.com
Technical documentationgodoc.org/­github.com/­dgraph-io/­badgerclickhouse.com/­docsdocs.redis.com/­latest/­index.html
redis.io/­docs
docs.pingcap.com/­tidb/­stabletypedb.com/­docs
DeveloperDGraph LabsClickhouse Inc.Redis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.PingCAP, Inc.Vaticle
Initial release20172016200920162016
Current releasev24.4.1.2088-stable, May 20247.2.4, January 20248.0.0, March 20242.26.3, January 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoApache 2.0Open Source infosource-available extensions (modules), commercial licenses for Redis EnterpriseOpen Source infoApache 2.0Open Source infoGPL Version 3, commercial licenses 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.
  • DoubleCloud: Fully managed ClickHouse alongside best-in-class managed open-source services to build analytics at scale.
  • Aiven for Clickhouse: Managed cloud data warehousing with high-speed analytics.
  • ClickHouse Cloud: Get the performance you love from open source ClickHouse in a serverless offering that takes care of the details so you can spend more time getting insight out of the fastest database on earth.
Aiven for Redis: Fully managed in-memory key-value store for all your caching and speedy lookup needs.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGoC++CGo, RustJava
Server operating systemsBSD
Linux
OS X
Solaris
Windows
FreeBSD
Linux
macOS
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
LinuxLinux
OS X
Windows
Data schemeschema-freeyesschema-freeyesyes
Typing infopredefined data types such as float or datenoyespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesyesyes
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 indexesnoyesyes infowith RediSearch moduleyesyes
SQL infoSupport of SQLnoClose to ANSI SQL (SQL/JSON + extensions)with RediSQL moduleyesno
APIs and other access methodsgRPC
HTTP REST
JDBC
MySQL wire protocol
ODBC
PostgreSQL wire protocol
Proprietary protocol
proprietary protocol infoRESP - REdis Serialization ProtocolGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
gRPC protocol
TypeDB Console (shell)
TypeDB Studio (Visualisation software- previously TypeDB Workbase)
Supported programming languagesGoC# info3rd party library
C++
Elixir info3rd party library
Go info3rd party library
Java info3rd party library
JavaScript (Node.js) info3rd party library
Kotlin info3rd party library
Nim info3rd party library
Perl info3rd party library
PHP info3rd party library
Python info3rd party library
R info3rd party library
Ruby info3rd party library
Rust
Scala info3rd party library
C
C#
C++
Clojure
Crystal
D
Dart
Elixir
Erlang
Fancy
Go
Haskell
Haxe
Java
JavaScript (Node.js)
Lisp
Lua
MatLab
Objective-C
OCaml
Pascal
Perl
PHP
Prolog
Pure Data
Python
R
Rebol
Ruby
Rust
Scala
Scheme
Smalltalk
Swift
Tcl
Visual Basic
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
All JVM based languages
Groovy
Java
JavaScript (Node.js)
Python
Scala
Server-side scripts infoStored proceduresnoyesLua; Redis Functions coming in Redis 7 (slides and Github)nono
Triggersnonopublish/subscribe channels provide some trigger functionality; RedisGearsnono
Partitioning methods infoMethods for storing different data on different nodesnonekey based and customSharding infoAutomatic hash-based sharding with support for hash-tags for manual shardinghorizontal partitioning (by key range)Sharding infoby using Cassandra
Replication methods infoMethods for redundantly storing data on multiple nodesnoneAsynchronous and synchronous physical replication; geographically distributed replicas; support for object storages.Multi-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.Multi-source replication infoby using Cassandra
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonothrough RedisGearsyes infowith TiSpark Connectoryes infoby using Apache Kafka and Apache Zookeeper
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyEventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynononoyes infofull support since version 6.6no infosubstituted by the relationship feature
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanonoAtomic execution of command blocks and scripts and optimistic lockingACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoData access is serialized by the serveryesyes
Durability infoSupport for making data persistentyesyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesnono
User concepts infoAccess controlnoAccess rights for users and roles. Column and row based policies. Quotas and resource limits. Pluggable authentication with LDAP and Kerberos. Password based, X.509 certificate, and SSH key authentication.Access Control Lists (ACLs): redis.io/­docs/­management/­security/­acl
LDAP and Role-Based Access Control (RBAC) for Redis Enterprise
Mutual TLS authentication: redis.io/­docs/­management/­security/­encryption
Password-based authentication
Fine grained access rights according to SQL-standardyes infoat REST API level; other APIs in progress
More information provided by the system vendor
BadgerClickHouseRedisTiDBTypeDB infoformerly named Grakn
Specific characteristicsTiDB is an advanced open-source, distributed SQL database for modern application...
» more
TypeDB is a polymorphic database with a conceptual data model, a strong subtyping...
» more
Competitive advantages- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
TypeDB provides a new level of expressivity, extensibility, interoperability, and...
» more
Typical application scenariosTiDB is ideal for transactional applications that require extreme scalability and...
» more
Life sciences : TypeDB makes working with biological data much easier and accelerates...
» 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
Apache f or language drivers, and AGPL and Commercial for the database server. The...
» 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 partiesDoubleCloud: Fully managed ClickHouse alongside best-in-class managed open-source services to build analytics at scale.
» more

Aiven for Clickhouse: Managed cloud data warehousing with high-speed analytics.
» more
Aiven for Redis: Fully managed in-memory key-value store for all your caching and speedy lookup needs.
» more

Navicat for Redis: the award-winning Redis management tool with an intuitive and powerful graphical interface.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Redisson PRO: The ultra-fast Redis Java Client.
» more

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

More resources
BadgerClickHouseRedisTiDBTypeDB infoformerly named Grakn
DB-Engines blog posts

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

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

MongoDB is the DBMS of the year, defending the title from last year
7 January 2015, Paul Andlinger, Matthias Gelbmann

show all

Recent citations in the news

Why Clickhouse Should Be Your Next Database
6 July 2023, The New Stack

ClickHouse Cloud & Amazon S3 Express One Zone: Making a blazing fast analytical database even faster | Amazon ...
28 November 2023, AWS Blog

A 1000x Faster Database Solution: ClickHouse’s Aaron Katz
1 November 2023, GrowthCap

From Open Source to SaaS: the Journey of ClickHouse
16 January 2024, InfoQ.com

Snowflake vs. BigQuery vs. ClickHouse: Mastering Cost-Effective Business Analytics
6 December 2023, hackernoon.com

provided by Google News

Linux Foundation marshals support for open source alternative to Redis
3 April 2024, The Register

The Coolest Database System Companies Of The 2024 Big Data 100
22 April 2024, CRN

Redis switches licenses, acquires Speedb to go beyond its core in-memory database
21 March 2024, TechCrunch

Redis acquires storage engine startup Speedb to enhance its open-source database
21 March 2024, SiliconANGLE News

Redis moves to source-available licenses
25 March 2024, InfoWorld

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

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

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

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

provided by Google News

An Enterprise Data Stack Using TypeDB | by Daniel Crowe
2 September 2021, Towards Data Science

Speedb Goes Open Source With Its Speedb Data Engine, A Drop-in Replacement for RocksDB
9 November 2022, Business Wire

Modelling Biomedical Data for a Drug Discovery Knowledge Graph
6 October 2020, Towards Data Science

How Roche Discovered Novel Potential Gene Targets with TypeDB
8 June 2021, Towards Data Science

Bayer's Approach to Modelling and Loading Data at Scale
16 August 2021, Towards Data Science

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

RaimaDB logo

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

Neo4j logo

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Milvus logo

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

Present your product here