DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Elasticsearch vs. MySQL vs. Redis vs. Sphinx

System Properties Comparison Elasticsearch vs. MySQL vs. Redis vs. Sphinx

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameElasticsearch  Xexclude from comparisonMySQL  Xexclude from comparisonRedis  Xexclude from comparisonSphinx  Xexclude from comparison
DescriptionA distributed, RESTful modern search and analytics engine based on Apache Lucene infoElasticsearch lets you perform and combine many types of searches such as structured, unstructured, geo, and metricWidely 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.Open source search engine for searching in data from different sources, e.g. relational databases
Primary database modelSearch engineRelational 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 persistenceSearch engine
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Document 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
Score134.79
Rank#7  Overall
#1  Search engines
Score1101.50
Rank#2  Overall
#2  Relational DBMS
Score157.00
Rank#6  Overall
#1  Key-value stores
Score6.06
Rank#61  Overall
#6  Search engines
Websitewww.elastic.co/­elasticsearchwww.mysql.comredis.com
redis.io
sphinxsearch.com
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmldev.mysql.com/­docdocs.redis.com/­latest/­index.html
redis.io/­docs
sphinxsearch.com/­docs
DeveloperElasticOracle infosince 2010, originally MySQL AB, then SunRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.Sphinx Technologies Inc.
Initial release2010199520092001
Current release8.6, January 20238.3.0, January 20247.2.4, January 20243.5.1, February 2023
License infoCommercial or Open SourceOpen Source infoElastic LicenseOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infosource-available extensions (modules), commercial licenses for Redis EnterpriseOpen Source infoGPL version 2, commercial licence available
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.Aiven for Redis: Fully managed in-memory key-value store for all your caching and speedy lookup needs.
Implementation languageJavaC and C++CC++
Server operating systemsAll OS with a Java VMFreeBSD
Linux
OS X
Solaris
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Data schemeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesschema-freeyes
Typing infopredefined data types such as float or dateyesyespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexesno
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.noyesno
Secondary indexesyes infoAll search fields are automatically indexedyesyes infowith RediSearch moduleyes infofull-text index on all search fields
SQL infoSupport of SQLSQL-like query languageyes infowith proprietary extensionswith RediSQL moduleSQL-like query language (SphinxQL)
APIs and other access methodsJava API
RESTful HTTP/JSON API
ADO.NET
JDBC
ODBC
Proprietary native API
proprietary protocol infoRESP - REdis Serialization ProtocolProprietary protocol
Supported programming languages.Net
Groovy
Community Contributed Clients
Java
JavaScript
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
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
Server-side scripts infoStored proceduresyesyes infoproprietary syntaxLua; Redis Functions coming in Redis 7 (slides and Github)no
Triggersyes infoby using the 'percolation' featureyespublish/subscribe channels provide some trigger functionality; RedisGearsno
Partitioning methods infoMethods for storing different data on different nodesShardinghorizontal partitioning, sharding with MySQL Cluster or MySQL FabricSharding infoAutomatic hash-based sharding with support for hash-tags for manual shardingSharding infoPartitioning is done manually, search queries against distributed index is supported
Replication methods infoMethods for redundantly storing data on multiple nodesyesMulti-source replication
Source-replica replication
Multi-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
none
MapReduce infoOffers an API for user-defined Map/Reduce methodsES-Hadoop Connectornothrough RedisGearsno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allImmediate ConsistencyEventual Consistency
Causal consistency can be enabled in Active-Active databases
Strong consistency with Redis Raft
Strong eventual consistency with Active-Active
Foreign keys infoReferential integritynoyes infonot for MyISAM storage enginenono
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 lockingno
Concurrency infoSupport for concurrent manipulation of datayesyes infotable locks or row locks depending on storage engineyes infoData access is serialized by the serveryes
Durability infoSupport for making data persistentyesyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logsyes infoThe original contents of fields are not stored in the Sphinx index.
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.Memcached and Redis integrationyesyes
User concepts infoAccess controlUsers 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
no

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

Aiven for MySQL: Fully managed MySQL, deployable in the cloud of your choice, with seamless integrations and lightning-fast setup.
» 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

Aiven for Redis: Fully managed in-memory key-value store for all your caching and speedy lookup needs.
» 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
ElasticsearchMySQLRedisSphinx
DB-Engines blog posts

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

Elasticsearch moved into the top 10 most popular database management systems
3 July 2017, Matthias Gelbmann

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, 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

The DB-Engines ranking includes now search engines
4 February 2013, Paul Andlinger

show all

Recent citations in the news

Introducing Elasticsearch Vector Database to Azure OpenAI Service On Your Data (Preview)
26 March 2024, insider.govtech.com

The Noonification: Effective Workarounds for SQL-Style Joins in Elasticsearch (3/24/2024)
24 March 2024, hackernoon.com

ElasticSearch Goes Deep on OpenTelemetry with eBPF Donation
13 March 2024, The New Stack

Elastic Announces 2023 Elastic Excellence Awards Winners
27 March 2024, Business Wire

Cribl forges strategic alliance with Elasticsearch for enhanced observability and AI integration
17 November 2023, SiliconANGLE News

provided by Google News

Vitess Version 19 Released: Ends Support for MySQL 5.7, Improves MySQL Compatibility
27 March 2024, InfoQ.com

Amazon Aurora MySQL version 2 (with MySQL 5.7 compatibility) to version 3 (with MySQL 8.0 compatibility) upgrade ...
18 March 2024, AWS Blog

Want to become an AI developer? Here's how with MySQL HeatWave
13 March 2024, Oracle

Google advances with vector search in MySQL, leapfrogging Oracle in LLM support
4 March 2024, The Register

General Availability: Azure MySQL Import feature for Azure Database for MySQL Single to Flexible Server migrations ...
17 January 2024, azure.microsoft.com

provided by Google News

Linux Foundation Backs 'Valkey' Open Source Fork of Redis
29 March 2024, The New Stack

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

AWS, Google, Oracle back Redis fork Valkey
28 March 2024, The Stack

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

Redis expands data management capabilities with Speedb acquisition – Blocks and Files
22 March 2024, Blocks & Files

provided by Google News

Switching From Sphinx to MkDocs Documentation — What Did I Gain and Lose
2 February 2024, Towards Data Science

Manticore is a Faster Alternative to Elasticsearch in C++
25 July 2022, hackernoon.com

Perplexity AI: From Its Use To Operation, Everything You Need To Know About Googles Newest Challenger
11 January 2024, Free Press Journal

The Pirate Bay was recently down for over a week due to a DDoS attack
29 October 2019, The Hacker News

How to Build 600+ Links in One Month
4 September 2020, Search Engine Journal

provided by Google News



Share this page

Featured Products

AllegroGraph logo

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

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.

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Milvus logo

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

Present your product here