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

DBMS > MongoDB vs. Redis vs. TiDB vs. TypeDB

System Properties Comparison MongoDB vs. Redis vs. TiDB vs. TypeDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMongoDB  Xexclude from comparisonRedis  Xexclude from comparisonTiDB  Xexclude from comparisonTypeDB infoformerly named Grakn  Xexclude from comparison
DescriptionOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructurePopular 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 provides developers with an expressive, customizable type system to manage their data using an award-winning query language, TypeQL, while building on a high-performance, distributed architecture.
Primary database modelDocument storeKey-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistenceRelational DBMSGraph DBMS infoThe type-theoretic data model of TypeDB subsumes the graph database model.
Object oriented DBMS infoThe data model of TypeDB comprises object-oriented features such as class inheritance and interfaces.
Relational DBMS infoThe type-theoretic data model of TypeDB subsumes the relational database model.
Secondary database modelsSpatial DBMS
Search engine infointegrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS infoTime Series Collections introduced in Release 5.0
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
Document 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
Score410.24
Rank#5  Overall
#1  Document stores
Score149.43
Rank#6  Overall
#1  Key-value stores
Score4.09
Rank#72  Overall
#38  Relational DBMS
Score0.65
Rank#230  Overall
#20  Graph DBMS
#9  Object oriented DBMS
#107  Relational DBMS
Websitewww.mongodb.comredis.com
redis.io
pingcap.comtypedb.com
Technical documentationwww.mongodb.com/­docs/­manualdocs.redis.com/­latest/­index.html
redis.io/­docs
docs.pingcap.com/­tidb/­stabletypedb.com/­docs
DeveloperMongoDB, IncRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.PingCAP, Inc.Vaticle
Initial release2009200920162016
Current release7.0.5, January 20247.2.5, May 20248.2.0, July 20242.28.3, June 2024
License infoCommercial or Open SourceOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.Open 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 serviceno infoMongoDB available as DBaaS (MongoDB Atlas)nonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • MongoDB Flex @ STACKIT offers managed MongoDB Instances with adjustable CPU, RAM, storage amount and speed, in enterprise grade to perfectly match all application requirements. All services are 100% GDPR-compliant.
  • MongoDB Atlas: Global multi-cloud database with unmatched data distribution and mobility across AWS, Azure, and Google Cloud, built-in automation for resource and workload optimization, and so much more.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageC++CGo, RustJava
Server operating systemsLinux
OS X
Solaris
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
LinuxLinux
OS X
Windows
Data schemeschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.schema-freeyesyes
Typing infopredefined data types such as float or dateyes infostring, integer, double, decimal, boolean, date, object_id, geospatialpartial 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.nonono
Secondary indexesyesyes infowith RediSearch moduleyesyes
SQL infoSupport of SQLRead-only SQL queries via the MongoDB Atlas SQL Interfacewith RediSQL moduleyesno
APIs and other access methodsGraphQL
HTTP REST
Prisma
proprietary protocol using JSON
proprietary protocol infoRESP - REdis Serialization ProtocolGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
gRPC protocol
TypeDB Console (shell)
TypeDB Studio (IDE)
Supported programming languagesActionscript infounofficial driver
C
C#
C++
Clojure infounofficial driver
ColdFusion infounofficial driver
D infounofficial driver
Dart infounofficial driver
Delphi infounofficial driver
Erlang
Go
Groovy infounofficial driver
Haskell
Java
JavaScript
Kotlin
Lisp infounofficial driver
Lua infounofficial driver
MatLab infounofficial driver
Perl
PHP
PowerShell infounofficial driver
Prolog infounofficial driver
Python
R infounofficial driver
Ruby
Rust
Scala
Smalltalk infounofficial driver
Swift
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
C
C++
Java
JavaScript (Node.js)
Python
Rust
Server-side scripts infoStored proceduresJavaScriptLua; Redis Functions coming in Redis 7 (slides and Github)nono
Triggersyes infoin MongoDB Atlas onlypublish/subscribe channels provide some trigger functionality; RedisGearsnono
Partitioning methods infoMethods for storing different data on different nodesSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.Sharding infoAutomatic hash-based sharding with support for hash-tags for manual shardinghorizontal partitioning (by key range)no
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
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.Synchronous replication via raft
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesthrough RedisGearsyes infowith TiSpark Connectorno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Eventual 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 integrityno infotypically not used, however similar functionality with DBRef possiblenoyes infofull support since version 6.6no infosubstituted by the relationship feature
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataMulti-document ACID Transactions with snapshot isolationAtomic execution of command blocks and scripts and optimistic lockingACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes infoData access is serialized by the serveryesyes
Durability infoSupport for making data persistentyes infooptional, enabled by defaultyes 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.yes infoIn-memory storage engine introduced with MongoDB version 3.2yesnono
User concepts infoAccess controlAccess rights for users and rolesAccess 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
MongoDBRedisTiDBTypeDB infoformerly named Grakn
Specific characteristicsMongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
TiDB 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 advantagesBuilt around the flexible document data model and unified API, MongoDB is a developer...
» more
- 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 scenariosAI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
TiDB 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 customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsHundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
TiDB 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 partiesNavicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more
Navicat for Redis: the award-winning Redis management tool with an intuitive and powerful graphical interface.
» more

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

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

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

More resources
MongoDBRedisTiDBTypeDB infoformerly named Grakn
DB-Engines blog posts

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

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

show all

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

While MongoDB (NASDAQ:MDB) shareholders have made 131% in 5 years, increasing losses might now be front of mind as stock sheds 4.0% this week
23 September 2024, Simply Wall St

MongoDB, Inc. Announces Second Quarter Fiscal 2025 Financial Results
29 August 2024, PR Newswire

MongoDB Stock Up 18% In A Day: Return To $500 In Sight?
4 September 2024, Forbes

Frank Rimerman Advisors LLC Makes New Investment in MongoDB, Inc. (NASDAQ:MDB)
24 September 2024, MarketBeat

MongoDB takes a swing at PostgreSQL after claiming wins against rival
30 August 2024, The Register

provided by Google News

Majority of Redis users considering alternatives after less permissive licensing move
20 September 2024, The Register

Redis debuts new data integration and AI features for its database
23 August 2024, SiliconANGLE News

Flight to Valkey appears to be response to removal of Redis’ open source license
12 September 2024, Techzine Europe

Valkey Emerges as Leading Open Source Alternative to Redis After Relicensing Row
12 September 2024, Business Wire

After changing its license, Redis drops its biggest release yet
23 August 2024, TechCrunch

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

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

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

Bayer’s Approach to Modelling and Loading Data at Scale | by Daniel Crowe
16 August 2021, Towards Data Science

Building a Biomedical Knowledge Graph
28 June 2021, Towards Data Science

Comparing Grakn to Semantic Web Technologies — Part 2/3
26 June 2020, Towards Data Science

provided by Google News



Share this page

Featured Products

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.

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.

Present your product here