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 > Memcached vs. PostgreSQL vs. Redis

System Properties Comparison Memcached vs. PostgreSQL vs. Redis

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMemcached  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRedis  Xexclude from comparison
DescriptionIn-memory key-value store, originally intended for cachingWidely 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 modelKey-value storeRelational 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 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
Score26.37
Rank#31  Overall
#4  Key-value stores
Score597.27
Rank#4  Overall
#4  Relational DBMS
Score171.50
Rank#6  Overall
#1  Key-value stores
Websitewww.memcached.orgwww.postgresql.orgredis.com
redis.io
Technical documentationgithub.com/­memcached/­memcached/­wikiwww.postgresql.org/­docsdocs.redis.com/­latest/­index.html
redis.io/­documentation
DeveloperDanga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournalPostgreSQL Global Development Group infowww.postgresql.org/­developerRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Labs
Initial release20031989 info1989: Postgres, 1996: PostgreSQL2009
Current release1.6.9, November 202014.1, November 20216.2.6, October 2021
License infoCommercial or Open SourceOpen Source infoBSD licenseOpen 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 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.
Implementation languageCCC
Server operating systemsFreeBSD
Linux
OS X
Unix
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 schemeschema-freeyesschema-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 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.yes infospecific XML-type available, but no XML query functionality.no
Secondary indexesnoyesyes infowith RediSearch module
SQL infoSupport of SQLnoyes infostandard with numerous extensionsno
APIs and other access methodsProprietary protocolADO.NET
JDBC
native C library
ODBC
streaming API for large objects
proprietary protocol infoRESP - REdis Serialization Protocol
Supported programming languages.Net
C
C++
ColdFusion
Erlang
Java
Lisp
Lua
OCaml
Perl
PHP
Python
Ruby
.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 proceduresnouser 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)
Triggersnoyespublish/subscribe channels provide some trigger functionality; RedisGears
Partitioning methods infoMethods for storing different data on different nodesnonepartitioning 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 nodesnone infoRepcached, a Memcached patch, provides this functionallitySource-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 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 integritynoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDAtomic execution of command blocks and scripts and optimistic locking
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoData access is serialized by the server
Durability infoSupport for making data persistentnoyesyes 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.noyes
User concepts infoAccess controlyes infousing SASL (Simple Authentication and Security Layer) protocolfine 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
MemcachedPostgreSQLRedis
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 partiespgDash: In-Depth PostgreSQL Monitoring.
» more

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

Fivetran: Quickly and easily centralize your on-premise and cloud databases.
» 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

ClusterControl: the only management system you’ll ever need to take control of your open source database infrastructure.
» 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

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more
CData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

Read the Redis NoSQL benchmark report.
» more

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

More resources
MemcachedPostgreSQLRedis
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

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) 

PostgreSQL is the DBMS of the Year 2020
4 January 2021, 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

Conferences and events

Postgres Build 2021
Free Virtual Event, 30 November 2021 - 1 December 2021

Finished events

Latest Performance Features in PostgreSQL 14
On Demand Webinar, 14 October 2021 (finished)

PostgreSQL Performance Tuning Secrets
On Demand Webinar, 21 October 2021 (finished)

Recent citations in the news

Google Releases Memorystore for Memcached into General Availability
9 March 2021, InfoQ.com

Intel Powers New Amazon EC2 R6i Instance
23 November 2021, HPCwire

​Memcached DDoS: The biggest, baddest denial of service attacker yet
1 March 2018, ZDNet

Memcached DDoS Explained
25 August 2021, akamai.com

Google Cloud rolls out Memcached database caching – Blocks and Files
4 April 2020, Blocks and Files

provided by Google News

EDB Announces General Availability of a PostgreSQL Database in the Cloud: BigAnimal
17 November 2021, InfoQ.com

Postgres Build 2021 Conference to Feature Leading PostgreSQL Experts
18 November 2021, Yahoo Finance

Enterprise PostgreSQL Hits the Cloud as EDB's 'BigAnimal'
3 November 2021, Datanami

AWS Announces the General Availability and Open Sourcing of Babelfish for PostgreSQL
2 November 2021, InfoQ.com

YugabyteDB 2.11 meets developer demand for comprehensive PostgreSQL compatibility
24 November 2021, Help Net Security

provided by Google News

"Redis enables us to build high-performing, reliable features"
25 November 2021, JAXenter

Python Databases 101: Which to Choose?
22 November 2021, Built In

Speedb partners with Redis to deliver cost-effective performance for high capacity real-time datasets
20 November 2021, Help Net Security

Redis Labs unveils Redis Database 7.0
20 April 2021, ZDNet

AWS introduces Amazon MemoryDB for Redis
19 August 2021, ZDNet

provided by Google News

Job opportunities

AWS Architect
spar information systems, Remote

AWS Cloud Architect
PDT, Dallas, TX

SIEM/Detection Engineer
Holman Automotive Group, Remote

AWS Architect| AWS | Maryland & Austin | Under Armour
Photon, Dallas, TX

Junior DevOps Engineer
Accesso, Miami, FL

PostgreSQL DBA
Tektree, United States

Aurora/RDS PostgreSQL DBA
Resolve Tech Solutions Inc., San Antonio, TX

PostgreSQL Consultant
Techspace Solutions, Richardson, TX

Sr PostgreSQL DBA
Trigint Solutions, Baltimore, MD

PostgreSQL Database Engineer
Infinity Quest, Plano, TX

DATABASE ADMINISTRATOR
Learning.com, Remote

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

Junior Developer
TrafficHaus, San Diego, CA

C# .NET Developer - Senior - Fully Remote
ClearPath, Remote

Remote Principle Database Engineer
Piper Companies, Remote

jobs by Indeed



Share this page

Featured Products

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

Couchbase logo

The modern database for enterprise applications. Build fast. Scale Big. Save more.
Get started today.

Neo4j logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Present your product here