DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > MySQL vs. PostgreSQL vs. Redis

System Properties Comparison MySQL vs. PostgreSQL vs. Redis

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMySQL  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRedis  Xexclude from comparison
DescriptionWidely used open source RDBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLPopular 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.
Primary database modelRelational DBMS infoKey/Value like access via memcached APIRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Key-value store infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistence
Secondary database modelsDocument store
Spatial DBMS
Document store
Spatial DBMS
Document store infowith RedisJSON
Graph DBMS infowith RedisGraph
Spatial DBMS
Search engine infowith RediSearch
Time Series DBMS infowith RedisTimeSeries
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1202.85
Rank#2  Overall
#2  Relational DBMS
Score618.00
Rank#4  Overall
#4  Relational DBMS
Score176.39
Rank#6  Overall
#1  Key-value stores
Websitewww.mysql.comwww.postgresql.orgredis.com
redis.io
Technical documentationdev.mysql.com/­docwww.postgresql.org/­docsdocs.redis.com/­latest/­index.html
redis.io/­documentation
Social network pagesTwitterLinkedInFacebookYouTubeDiscord
DeveloperOracle infosince 2010, originally MySQL AB, then SunPostgreSQL Global Development Group infowww.postgresql.org/­developerRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.
Initial release19951989 info1989: Postgres, 1996: PostgreSQL2009
Current release8.0.30, July 202214.5, August 20227.0.3, July 2022
License infoCommercial or Open SourceOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoBSDOpen Source infosource-available extensions (modules), commercial licenses for Redis Enterprise
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
ScaleGrid for MySQL: Fully managed MySQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
  • Aiven for PostgreSQL: Fully managed and hosted PostgreSQL® with 70+ extensions and orchestration tooling included.
  • ScaleGrid for PostgreSQL: Fully managed PostgreSQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
  • ScaleGrid for Redis: Fully managed hosting for Redis on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
  • Redis Enterprise Cloud: Instantly scale and pay only for the resources you need - on any cloud - AWS, Azure or Google Cloud.
  • Aiven for Redis: Fully managed in-memory key-value store, for all your caching and speedy lookup needs.
Implementation languageC and C++CC
Server operating systemsFreeBSD
Linux
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Data schemeyesyesschema-free
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 indexes
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.yesyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyes infowith RediSearch module
SQL infoSupport of SQLyes infowith proprietary extensionsyes infostandard with numerous extensionsno
APIs and other access methodsADO.NET
JDBC
ODBC
Proprietary native API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
proprietary protocol infoRESP - REdis Serialization Protocol
Supported programming languagesAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
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
Server-side scripts infoStored proceduresyes infoproprietary syntaxuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.Lua; Redis Functions coming in Redis 7 (slides and Github)
Triggersyesyespublish/subscribe channels provide some trigger functionality; RedisGears
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning, sharding with MySQL Cluster or MySQL Fabricpartitioning by range, list and (since PostgreSQL 11) by hashSharding infoAutomatic hash-based sharding with support for hash-tags for manual sharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication
Source-replica replication
Source-replica replication infoother methods possible by using 3rd party extensionsMulti-source replication infowith Redis Enterprise Pack
Source-replica replication infoChained replication is supported
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonothrough RedisGears
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate 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 integrityyes infonot for MyISAM storage engineyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infonot for MyISAM storage engineACIDAtomic execution of command blocks and scripts and optimistic locking
Concurrency infoSupport for concurrent manipulation of datayes infotable locks or row locks depending on storage engineyesyes infoData access is serialized by the server
Durability infoSupport for making data persistentyesyesyes infoConfigurable mechanisms for persistency via snapshots and/or operations logs
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnoyes
User concepts infoAccess controlUsers with fine-grained authorization concept infono user groups or rolesfine grained access rights according to SQL-standardAccess Control Lists (ACLs): redis.io/­topics/­acl
LDAP and Role-Based Access Control (RBAC) for Redis Enterprise
Mutual TLS authentication: redis.io/­topics/­encryption
Password-based authentication
More information provided by the system vendor
MySQLPostgreSQLRedis
Specific characteristicsThe Redis real-time data platform builds upon the unmatched simplicity and speed...
» more
Competitive advantagesRedis Enterprise is a robust in-memory database platform built by the people who...
» more
Typical application scenariosRedis Enterprise is used by large enterprise, startup, and government organizations...
» more
Key customersVerizon, Vodafone, Atlassian, Trip Advisor, Jet.com, Nokia, Samsung, HTC, Docker,...
» more
Market metricsMost launched Docker container per day according to Docker Hub (7.2M launches per...
» more
Licensing and pricing modelsRedis Enterprise Cloud lets users scale up and down instantly, and pay only for 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 partiesDbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more

SQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

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

Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

Arctype: A fast, beautiful database GUI for developers and teams. Download it for free today.
» more
DbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.
» more

Aiven for PostgreSQL: The familiar open source PostgreSQL® that you know and love, with no proprietary features or add-ons that will lock you in.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

The State of PostgreSQL 2022 survey is now open!
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

SQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

EDB: BigAnimal is fully-managed PostgreSQL in the cloud from the database fanatics at EDB.
» more

Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

CYBERTEC is your professional partner for PostgreSQL services and Data Science since 2000. With offices in Austria, Uruguay, Estonia, Poland, South Africa and Switzerland, CYBERTEC operates worldwide and is here for you 24/7!
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» more
CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Read the Redis NoSQL benchmark report.
» more

Aiven for Redis: Store and access your data quickly and efficiently.
» more

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

More resources
MySQLPostgreSQLRedis
DB-Engines blog posts

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

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

Driving the Future of PostgreSQL Adoption
15 November 2021,  Umair Shahid, Percona (sponsor) 

The Inexorable Rise of PostgreSQL
24 September 2021,  Matt Yonkovit, Percona (sponsor) 

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

PlanetScale takes MySQL to the next level with cloud-native capabilities and improved scalability
8 August 2022, SiliconANGLE News

Ant Group said its new database surpasses MySQL in performance · TechNode
11 August 2022, TechNode

3 Ways to install MySQL Workbench on Ubuntu 22.04 LTS Linux
9 August 2022, Linux Shout

5 Strategies for Working with High Loads in MySQL
26 July 2022, Techstory

MySQL/Postgres DBA
6 August 2022, IT-Online

provided by Google News

Timescale Releases Third State of PostgreSQL Report
29 July 2022, PR Newswire

How to Work With a PostgreSQL Database Using psql Commands - MUO
20 July 2022, MakeUseOf

Install PostgreSQL pgAdmin 4 on Ubuntu 22.04 LTS Jammy Linux
4 August 2022, Linux Shout

How to return data from Postgresql pool in NodeJS?
1 August 2022, SitePoint

How to Create a CRUD API Using Node, PostgresSQL, and Express - MUO
28 July 2022, MakeUseOf

provided by Google News

How Kafka and Redis Solve Stream-Processing Challenges
8 August 2022, thenewstack.io

Speedb Picks Up Where RocksDB Leaves Off
21 July 2022, Datanami

Top 10 Data Science Unicorns to Work For in 2023 and Beyond
13 August 2022, Analytics Insight

Redis, MongoDB, and Elastic: 2022’s top exposed databases
27 April 2022, BleepingComputer

Keeping control of your data in the cloud should lead you into sovereign territory
20 July 2022, The Register

provided by Google News

Job opportunities

PHP/MySQL Developer
VS Media Inc, United States

PHP/MySQL Developer
Third Rock, Austin, TX

PHP/MySQL Developers
Webmasters.com, Tampa, FL

A&R Representative
OtterTune, Remote

PHP, MYSQL Developer - Long Term Consulting, 100% Remote
Endurance IT, Virginia Beach, VA

PostgreSQL Database Administrator
Xtivia Inc, Remote

PostgreSQL DBA
Career Soft Solutions, Jersey City, NJ

PostgreSQL Apps DBA
Career Soft Solutions, Jersey City, NJ

PostgreSQL Consultant
OmniTI, New York, NY

Senior PostgreSQL Database Engineer - Modernization
Global Payments, Alpharetta, GA

Staff Database Engineer
Bluestaq,, Colorado Springs, CO

Database Reliability Engineer - Oracle and No-SQL
Qualys, Raleigh, NC

Principal Database Engineer - NoSQL (Redis)
MasterCard, O'Fallon, MO

Staff Database Engineer - NoSQL (Relocation Available and Hybrid Position)
Visa, Austin, TX

Senior Database Engineer (UK REMOTE)
Humanity, Newcastle, WA

jobs by Indeed



Share this page

Featured Products

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Redis logo

The world’s most loved real‑time data platform.
Try free

The definitive guide for Cassandra

Imagine What You Could Do if Scalability Wasn‘t a Problem!
Download the Cassandra e-book for free!

AllegroGraph logo

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

Neo4j logo

The right graph database.
Not a graph add-on.
Free forever.
Start solving today

Present your product here