DBMS > Redis vs. TiDB
System Properties Comparison Redis vs. TiDB
Please select another system to include it in the comparison.
Our visitors often compare Redis and TiDB with ClickHouse, PostgreSQL and MySQL.
|Editorial information provided by DB-Engines|
|Name||Redis Xexclude from comparison||TiDB Xexclude from comparison|
|Description||Popular in-memory data platform used as a cache, message broker, and database that can be deployed on-premises, across clouds, and hybrid environments Redis 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.|
|Primary database model||Key-value store Multiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistence||Relational DBMS|
|Secondary database models||Document store with RedisJSON|
Graph DBMS with RedisGraph
Search engine with RediSearch
Time Series DBMS with RedisTimeSeries
|Social network pages|
|Developer||Redis project core team, inspired by Salvatore Sanfilippo Development sponsored by Redis Inc.||PingCAP, Inc.|
|Current release||7.0.11, April 2023||7.0.0, March 2023|
|License Commercial or Open Source||Open Source source-available extensions (modules), commercial licenses for Redis Enterprise||Open Source Apache 2.0|
|Cloud-based only Only available as a cloud service||no||no|
|DBaaS offerings (sponsored links) Database 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 language||C||Go, Rust|
|Server operating systems||BSD|
Windows ported and maintained by Microsoft Open Technologies, Inc.
|Typing predefined data types such as float or date||partial Supported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexes||yes|
|XML support Some form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.||no||no|
|Secondary indexes||yes with RediSearch module||yes|
|SQL Support of SQL||no||yes|
|APIs and other access methods||proprietary protocol RESP - REdis Serialization Protocol||GORM|
|Supported programming languages||C|
|Server-side scripts Stored procedures||Lua; Redis Functions coming in Redis 7 (slides and Github)||no|
|Triggers||publish/subscribe channels provide some trigger functionality; RedisGears||no|
|Partitioning methods Methods for storing different data on different nodes||Sharding Automatic hash-based sharding with support for hash-tags for manual sharding||horizontal partitioning (by key range)|
|Replication methods Methods for redundantly storing data on multiple nodes||Multi-source replication with Redis Enterprise Pack|
Source-replica replication Chained replication is supported
|Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.|
|MapReduce Offers an API for user-defined Map/Reduce methods||through RedisGears||yes with TiSpark Connector|
|Consistency concepts Methods to ensure consistency in a distributed system||Eventual Consistency|
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
|Foreign keys Referential integrity||no||yes full support since version 6.6|
|Transaction concepts Support to ensure data integrity after non-atomic manipulations of data||Atomic execution of command blocks and scripts and optimistic locking||ACID|
|Concurrency Support for concurrent manipulation of data||yes Data access is serialized by the server||yes|
|Durability Support for making data persistent||yes Configurable mechanisms for persistency via snapshots and/or operations logs||yes|
|In-memory capabilities Is there an option to define some or all structures to be held in-memory only.||yes||no|
|User concepts Access control||Access Control Lists (ACLs): redis.io/topics/acl|
LDAP and Role-Based Access Control (RBAC) for Redis Enterprise
Mutual TLS authentication: redis.io/topics/encryption
|Fine grained access rights according to SQL-standard|
|More information provided by the system vendor|
|Specific characteristics||The Redis real-time data platform builds upon the unmatched simplicity and speed...|
|TiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...|
|Competitive advantages||Redis Enterprise is a robust in-memory database platform built by the people who...|
|In the current database landscape, infrastructure engineers often have to use one...|
|Typical application scenarios||Redis Enterprise is used by large enterprise, startup, and government organizations...|
|TiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...|
|Key customers||Verizon, Vodafone, Atlassian, Trip Advisor, Jet.com, Nokia, Samsung, HTC, Docker,...|
|Shopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...|
|Market metrics||Most launched Docker container per day according to Docker Hub (7.2M launches per...|
|25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...|
|Licensing and pricing models||Redis Enterprise Cloud lets users scale up and down instantly, and pay only for the...|
|Open Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...|
|Related products and services|
|3rd parties||Read the Redis NoSQL benchmark report.|
Aiven for Redis: Store and access your data quickly and efficiently.
Redisson PRO: The ultra-fast Redis Java Client.
CData: Connect to Big Data & NoSQL through standard Drivers.
We invite representatives of vendors of related products to contact us for presenting information about their offerings here.
|DB-Engines blog posts|
PostgreSQL is the DBMS of the Year 2018 MySQL, PostgreSQL and Redis are the winners of the March ranking MongoDB is the DBMS of the year, defending the title from last year
MySQL, PostgreSQL and Redis are the winners of the March ranking MongoDB is the DBMS of the year, defending the title from last year
MongoDB is the DBMS of the year, defending the title from last year
|Recent citations in the news|
Optimizing Mastodon Performance with Sidekiq and Redis Enterprise
Pliops and phoenixNAP team up to turbocharge Redis – Blocks and ...
Innovation Profile: How CIOs Deploy Redis to Optimize Speed, Cost
Key Value Database Market 2023 Trends with Analysis on Key ...
Vector Databases Are Having a Moment — A Chat with Pinecone
provided by Google News
PingCAP Unveils TiDB 7.1, the Latest Advancement In Open Source ...
PingCAP’s Innovative TiDB Database – Techstrong.TV
PingCAP Announces TiDB Cloud Serverless Tier, Delivering ...
Apache Druid, TiDB, ClickHouse, or Apache Doris? A Comparison ...
Raft Native: The Foundation for Streaming Data's Best Future
provided by Google News
NoSQL Database Administrator
Senior Database Administrator - MySQL
Sales Development Representative (SDR)
Sales Account Executive Bay Area - Remote
Staff Software Engineer, Ads Infra
Fault Isolation Engineering Technician - Fleet Documentation
Electrical/Electronic Engineering Technician
Share this page