DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Memcached vs. MySQL vs. Redis vs. XTDB vs. YDB

System Properties Comparison Memcached vs. MySQL vs. Redis vs. XTDB vs. YDB

Editorial information provided by DB-Engines
NameMemcached  Xexclude from comparisonMySQL  Xexclude from comparisonRedis  Xexclude from comparisonXTDB infoformerly named Crux  Xexclude from comparisonYDB  Xexclude from comparison
DescriptionIn-memory key-value store, originally intended for cachingWidely used open source RDBMSPopular 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.A general purpose database with bitemporal SQL and Datalog and graph queriesA distributed fault-tolerant database service, with high availability, scalability, immediate consistency and ACID transactions and providing an Amazon DynamoDB compatible API
Primary database modelKey-value storeRelational DBMS infoKey/Value like access via memcached APIKey-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistenceDocument storeDocument store
Relational DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store infowith RedisJSON
Graph DBMS infowith RedisGraph
Spatial DBMS
Search engine infowith RediSearch
Time Series DBMS infowith RedisTimeSeries
Vector DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score16.84
Rank#32  Overall
#4  Key-value stores
Score1029.49
Rank#2  Overall
#2  Relational DBMS
Score149.43
Rank#6  Overall
#1  Key-value stores
Score0.13
Rank#330  Overall
#45  Document stores
Score0.39
Rank#269  Overall
#43  Document stores
#126  Relational DBMS
Websitewww.memcached.orgwww.mysql.comredis.com
redis.io
github.com/­xtdb/­xtdb
www.xtdb.com
github.com/­ydb-platform/­ydb
ydb.tech
Technical documentationgithub.com/­memcached/­memcached/­wikidev.mysql.com/­docdocs.redis.com/­latest/­index.html
redis.io/­docs
www.xtdb.com/­docsydb.tech/­en/­docs
DeveloperDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournalOracle infosince 2010, originally MySQL AB, then SunRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.Juxt Ltd.Yandex
Initial release20031995200920192019
Current release1.6.29, June 20249.0.0, July 20247.2.5, May 20241.19, September 2021
License infoCommercial or Open SourceOpen Source infoBSD licenseOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infosource-available extensions (modules), commercial licenses for Redis EnterpriseOpen Source infoMIT LicenseOpen Source infoApache 2.0; commercial license 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.
Implementation languageCC and C++CClojure
Server operating systemsFreeBSD
Linux
OS X
Unix
Windows
FreeBSD
Linux
OS X
Solaris
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
All OS with a Java 8 (and higher) VM
Linux
Linux
Data schemeschema-freeyesschema-freeschema-freeFlexible Schema (defined schema, partial schema, schema free)
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 indexesyes, extensible-data-notation formatyes
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.yesnonono
Secondary indexesnoyesyes infowith RediSearch moduleyesyes
SQL infoSupport of SQLnoyes infowith proprietary extensionswith RediSQL modulelimited SQL, making use of Apache CalciteSQL-like query language (YQL)
APIs and other access methodsProprietary protocolADO.NET
JDBC
ODBC
Proprietary native API
proprietary protocol infoRESP - REdis Serialization ProtocolHTTP REST
JDBC
RESTful HTTP API (DynamoDB compatible)
Supported programming languages.Net
C
C++
ColdFusion
Erlang
Java
Lisp
Lua
OCaml
Perl
PHP
Python
Ruby
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
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
Clojure
Java
Go
Java
JavaScript (Node.js)
PHP
Python
Server-side scripts infoStored proceduresnoyes infoproprietary syntaxLua; Redis Functions coming in Redis 7 (slides and Github)nono
Triggersnoyespublish/subscribe channels provide some trigger functionality; RedisGearsno
Partitioning methods infoMethods for storing different data on different nodesnonehorizontal partitioning, sharding with MySQL Cluster or MySQL FabricSharding infoAutomatic hash-based sharding with support for hash-tags for manual shardingnoneSharding
Replication methods infoMethods for redundantly storing data on multiple nodesnone infoRepcached, a Memcached patch, provides this functionallityMulti-source replication
Source-replica replication
Multi-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
yes, each node contains all dataActive-passive shard replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonothrough RedisGearsnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Immediate Consistency
Foreign keys infoReferential integritynoyes infonot for MyISAM storage enginenonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACID infonot for MyISAM storage engineAtomic execution of command blocks and scripts and optimistic lockingACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engineyes infoData access is serialized by the serveryesyes
Durability infoSupport for making data persistentnoyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyes, flexibel persistency by using storage technologies like Apache Kafka, RocksDB or LMDByes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesno
User concepts infoAccess controlyes infousing SASL (Simple Authentication and Security Layer) protocolUsers with fine-grained authorization concept infono user groups or 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
Access rights defined for Yandex Cloud users

More information provided by the system vendor

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 MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

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

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for MySQL and many other database management systems.
» more
Redisson PRO: The ultra-fast Redis Java Client.
» 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

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

More resources
MemcachedMySQLRedisXTDB infoformerly named CruxYDB
DB-Engines blog posts

Redis extends the lead in the DB-Engines key-value store ranking
3 February 2014, Matthias Gelbmann

New DB-Engines Ranking shows the popularity of database management systems
3 October 2012, Matthias Gelbmann, Paul Andlinger

show all

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

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

AMD Ryzen 5 9600X & Ryzen 7 9700X Offer Excellent Linux Performance
7 August 2024, Phoronix

Why DDoS Threat Actors Are Shifting Their Tactics
15 March 2024, Infosecurity Magazine

Why Redis beats Memcached for caching
14 September 2017, InfoWorld

What are memcached servers, and why are they being used to launch record-setting DDoS attacks?
6 March 2018, GeekWire

Memcached Cloud available in the Azure Store
18 April 2014, Microsoft

provided by Google News

MySql Explain with Tobias Petry
20 September 2024, Laravel News

Proposal Seeks To Replace MySQL With MariaDB By Default For Ubuntu 25.04
20 September 2024, Phoronix

HeatWave MySQL – New Capabilities for OLTP Workloads
10 September 2024, blogs.oracle.com

Learn how Presence migrated off a monolithic Amazon RDS for MySQL instance, with near-zero downtime, using replication filters
17 September 2024, AWS Blog

How to get started with MySQL
31 July 2024, InfoWorld

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

Data leak from Russian delivery app shows dining habits of the secret police
3 April 2022, The Verge

Yandex code leak: Why hack of ‘Russian Google’s’ ranking factors has spooked the SEO industry
1 February 2023, The Indian Express

Personal Data Protection Service Initiates Probe into Yandex.Go App’s Data Processing
10 August 2023, Civil Georgia

Yandex Food Delivery Service Leak Revealed Personal Information of Russia's Secret Police
3 April 2022, Tech Times

Russian secret police data leaked by food delivery app including where they live and what they eat...
4 April 2022, The US Sun

provided by Google News



Share this page

Featured Products

Neo4j logo

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

RaimaDB logo

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

SingleStore logo

The data platform to build your intelligent applications.
Try it 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

Present your product here