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

DBMS > Ehcache vs. PostgreSQL vs. Redis

System Properties Comparison Ehcache vs. PostgreSQL vs. Redis

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameEhcache  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRedis  Xexclude from comparison
DescriptionA widely adopted Java cache with tiered storage optionsWidely 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
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
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
Score6.44
Rank#65  Overall
#8  Key-value stores
Score650.90
Rank#4  Overall
#4  Relational DBMS
Score158.35
Rank#6  Overall
#1  Key-value stores
Websitewww.ehcache.orgwww.postgresql.orgredis.com
redis.io
Technical documentationwww.ehcache.org/­documentationwww.postgresql.org/­docsdocs.redis.com/­latest/­index.html
redis.io/­docs
Social network pagesLinkedInTwitterFacebookYouTubeDiscord
DeveloperTerracotta Inc, owned by Software AGPostgreSQL Global Development Group infowww.postgresql.org/­developerRedis project core team, inspired by Salvatore Sanfilippo infoDevelopment sponsored by Redis Inc.
Initial release20091989 info1989: Postgres, 1996: PostgreSQL2009
Current release3.10.0, March 202216.1, November 20237.2.3, November 2023
License infoCommercial or Open SourceOpen Source infoApache Version 2; commercial licenses 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.
Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
  • 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 languageJavaCC
Server operating systemsAll OS with a Java VMFreeBSD
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 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.noyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesnoyesyes infowith RediSearch module
SQL infoSupport of SQLnoyes infostandard with numerous extensionswith RediSQL module
APIs and other access methodsJCacheADO.NET
JDBC
native C library
ODBC
streaming API for large objects
proprietary protocol infoRESP - REdis Serialization Protocol
Supported programming languagesJava.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)
Triggersyes infoCache Event Listenersyespublish/subscribe channels provide some trigger functionality; RedisGears
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Terracotta Serverpartitioning 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 nodesyes infoby using Terracotta ServerSource-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 systemTunable Consistency (Strong, Eventual, Weak)Immediate 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 datayes infosupports JTA and can work as an XA resourceACIDAtomic 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 persistentyes infousing a tiered cache-storage approachyesyes 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 controlnofine grained access rights according to SQL-standardAccess 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
More information provided by the system vendor
EhcachePostgreSQLRedis
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

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

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

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» 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

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» 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

CData: Connect to Big Data & NoSQL through standard Drivers.
» 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
EhcachePostgreSQLRedis
DB-Engines blog posts

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

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) 

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

Spring Boot使用EhCache完成一个缓存集群
16 November 2023, CSDN

Ehcache 3.0 Released with Revamped API and Off-Heap Storage
2 May 2016, InfoQ.com

缓存-基础理论和Guava Cache介绍
7 November 2023, CSDN

Setting Up Distributed Infinispan Cache with Hibernate and Spring
26 May 2016, DZone

Java主流分布式解决方案多场景设计与实战
14 November 2023, CSDN

provided by Google News

Meet PGXMAN : The PostgreSQL Extension Manager
3 December 2023, MarkTechPost

Git-for-Data, Version-Controlled Database Dolt Gets PostgreSQL ...
25 November 2023, InfoQ.com

Timescale Introduces Dynamic PostgreSQL, an Alternative to ...
19 November 2023, InfoQ.com

PostgreSQL Takes a New Turn
9 November 2023, The New Stack

Google AlloyDB Omni: PostgreSQL-Compatible Database for On ...
23 November 2023, InfoQ.com

provided by Google News

Redis Cloud Propels LangChain OpenGPTs Project
17 November 2023, Database Trends and Applications

Amazon ElastiCache Serverless Now Available for Redis and ...
30 November 2023, Database Trends and Applications

AWS Adds Vector Capabilities to More Databases
30 November 2023, Datanami

AWS-Announces-Three-Serverless-Innovations-to-Help-Customers ...
28 November 2023, Amazon Press Release

Redis Cloud Leverages Amazon Bedrock to Deliver Speed and ...
28 November 2023, Yahoo Finance

provided by Google News

Job opportunities

Sr. Software Developer(Applications)
Verudix, Oak Brook, IL

Software Analyst/Developer
Verudix, Oak Brook, IL

Systems Specialist
Otis It Inc, Wilmington, DE

Sr. Software Developer
Pioneer Consulting Services, West Des Moines, IA

Java Software Engineer II
Nations Info Corp., Thousand Oaks, CA

PostGreSQL DBA
Intone Networks, Remote

Rails Developer
The Receptionist, Denver, CO

PostgreSQL DBA
Intertech, Inc, Minnesota

Sr PostgreSQL DBA
Trigint Solutions, Baltimore, MD

Full Stack Developer
Syzygy Integration, Remote

Database Administrator (DBA)
TikTok, San Jose, CA

Lead Database Engineer
Mastercard, O'Fallon, MO

Database Administrator (DBA)
Chess.com, Remote

Remote Elixir/Phoenix Developer
Joydrive, Seattle, WA

Senior Database Administrator
HireIO Inc., Seattle, WA

jobs by Indeed



Share this page

Featured Products

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.

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

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

Present your product here