Software Alternatives & Reviews

Redis VS PostgreSQL

Compare Redis VS PostgreSQL and see what are their differences

Redis logo Redis

Redis is an open source in-memory data structure project implementing a distributed, in-memory key-value database with optional durability.

PostgreSQL logo PostgreSQL

PostgreSQL is a powerful, open source object-relational database system.
  • Redis Landing page
    Landing page //
    2022-10-19

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.

  • PostgreSQL Landing page
    Landing page //
    2023-10-21

Redis videos

What is Redis? | Why and When to use Redis? | Tech Primers

More videos:

  • Review - Improve your Redis developer experience with RedisInsight, Redis Labs
  • Review - Redis Labs "Why NoSQL is a Safe Bet"
  • Review - Redis Enterprise Overview with Yiftach Shoolman - Redis Labs
  • Review - Redis system design | Distributed cache System design
  • Review - What is Redis and What Does It Do?
  • Review - Redis Sorted Sets Explained

PostgreSQL videos

Comparison of PostgreSQL and MongoDB

More videos:

  • Review - PostgreSQL Review
  • Review - MySQL vs PostgreSQL - Why you shouldn't use MySQL

Category Popularity

0-100% (relative to Redis and PostgreSQL)
Databases
50 50%
50% 50
NoSQL Databases
64 64%
36% 36
Relational Databases
0 0%
100% 100
Key-Value Database
100 100%
0% 0

User comments

Share your experience with using Redis and PostgreSQL. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Redis and PostgreSQL

Redis Reviews

Are Free, Open-Source Message Queues Right For You?
A notable challenge with Redis Streams is that it doesn't natively support distributed, horizontal scaling. Also, while Redis is famous for its speed and simplicity, managing and scaling a Redis installation may be complex for some users, particularly for persistent data workloads.
Source: blog.iron.io
Redis vs. KeyDB vs. Dragonfly vs. Skytable | Hacker News
1. Redis: I'll start with Redis which I'd like to call the "original" key/value store (after memcached) because it is the oldest and most widely used of all. Being a long-time follower of Redis, I do know it's single-threaded (and uses io-threads since 6.0) and hence it achieves lesser throughput than the other stores listed above which are multi-threaded, at least to some...
Memcached vs Redis - More Different Than You Would Expect
Remember when I wrote about how Redis was using malloc to assign memory? I lied. While Redis did use malloc at some point, these days Redis actually uses jemalloc. The reason for this is that jemalloc, while having lower peak performance has lower memory fragmentation helping to solve the framented memory issues that Redis experiences.
Top 15 Kafka Alternatives Popular In 2021
Redis is a known, open-source, in-memory data structure store that offers different data structures like lists, strings, hashes, sets, bitmaps, streams, geospatial indexes, etc. It is best utilized as a cache, memory broker, and cache. It has optional durability and inbuilt replication potential. It offers a great deal of availability through Redis Sentinel and Redis Cluster.
Comparing the new Redis6 multithreaded I/O to Elasticache & KeyDB
So there are 3 offerings by 3 companies, all compatible with eachother and based off open source Redis: Elasticache is offered as an optimized service offering of Redis; RedisLabs and Redis providing a core product and monetized offering, and KeyDB which remains a fast cutting edge (open source) superset of Redis. This blog looks specifically at performance, however there is...
Source: docs.keydb.dev

PostgreSQL Reviews

Top 5 BigQuery Alternatives: A Challenge of Complexity
For over three decades, the open-source object-relational database system PostgreSQL has maintained its reputation as a top SQL server due to its features, performance, and reliability. (Heck, Redshift is even based on Postgres!) It's the go-to database solution for large corporations and organizations across a variety of industries from ecommerce to gaming to...
Source: blog.panoply.io
10 Best Database Management Software Of 2022 [+ Examples]
Applications Manager offers out-of-the-box health and performance monitoring for 20 popular databases including RDBMS, NoSQL, in-memory, distributed, and big data stores. It supports both commercial databases such as Oracle, Microsoft SQL, IBM DB2, and MongoDB as well as open source ones like MySQL and PostgreSQL.
Source: theqalead.com
ClickHouse vs TimescaleDB
Recently, TimescaleDB published a blog comparing ClickHouse & TimescaleDB using timescale/tsbs, a timeseries benchmarking framework. I have some experience with PostgreSQL and ClickHouse but never got the chance to play with TimescaleDB. Some of the claims about TimescaleDB made in their post are very bold, that made me even more curious. I thought it’d be a great...
9 Best MongoDB alternatives in 2019
PostgreSQL is a widely popular open source database management system. It provides support for both SQL for relational and JSON for non-relational queries.
Source: www.guru99.com
20+ MongoDB Alternatives You Should Know About
PostgreSQL is the darling of the open source database community. Especially if your concern is the license, PostgreSQL’s permissive licence is hard to beat. PostgreSQL has powerful JSON Support, and there are many successful stories of migrating from MongoDB to PostgreSQL
Source: www.percona.com

Social recommendations and mentions

Based on our record, Redis seems to be a lot more popular than PostgreSQL. While we know about 183 links to Redis, we've tracked only 15 mentions of PostgreSQL. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Redis mentions (183)

  • Redis is not "open core" (2021)
    The page 404s for me currently and it does not seem to be archived by the wayback machine either: https://web.archive.org/web/20240000000000*/https://redis.io/news/121. - Source: Hacker News / 15 days ago
  • Software Engineering Workflow
    Redis - real time data storage with different data structures in a cache. - Source: dev.to / 17 days ago
  • Redis License Changed
    Redis.io no longer mentions open source. They have still not changed meta description on their page. It still says it is open source ^^ view-source:https://redis.io/. - Source: Hacker News / about 1 month ago
  • Tutorial: Install Redis in Distro Linux: Pop!_OS
    Follow the steps below to install Redis:. - Source: dev.to / about 2 months ago
  • How to choose the right type of database
    Redis: An open-source, in-memory data structure store supporting various data types. It offers persistence, replication, and clustering, making it ideal for more complex caching requirements and session storage. - Source: dev.to / about 2 months ago
View more

PostgreSQL mentions (15)

  • Perfect Elixir: Environment Setup
    I’m on MacOS and erlang.org, elixir-lang.org, and postgresql.org all suggest installation via Homebrew, which is a very popular package manager for MacOS. - Source: dev.to / about 1 month ago
  • Rust & MySQL: connect, execute SQL statements and stored procs using crate sqlx.
    According to the documentation, crate sqlx is implemented in Rust, and it's database agnostic: it supports PostgreSQL, MySQL, SQLite, and MSSQL. - Source: dev.to / 8 months ago
  • Really tired. Is PostgreSQL even runnable in Windows 10? pgAdmin4 stucks at Loading whatever I try.
    Solution is just downloading and installilng pgAdmin from official pgAdmin homepage version, not the one that is included in the postgresql.org package. Source: 10 months ago
  • Why SQL is right for Infrastructure Management
    SQL immediately stands out here because it was designed for making relational algebra, the other side of the Entity-Relationship model, accessible. There are likely more people who know SQL than any programming language (for IaC) or data format you could choose to represent your cloud infrastructure. Many non-programmers know it, as well, such as data scientists, business analysts, accountants, etc, and there is... - Source: dev.to / about 1 year ago
  • Ask HN: Hunting for a Framework
    Vapor[0] based on Swift. Advantage of this is that you don't have to evaluate multiple frameworks for Swift and suffer paralysis by analysis. All the Swift community is behind one framework. The next is Actix[1] based on Rust. There are many frameworks in Rust and most of them have not reached 1.0 And which framework will survive becomes a question. Other not so well-known is Wt[2] based on C++. This actually is... - Source: Hacker News / over 1 year ago
View more

What are some alternatives?

When comparing Redis and PostgreSQL, you can also consider the following products

MongoDB - MongoDB (from "humongous") is a scalable, high-performance NoSQL database.

MySQL - The world's most popular open source database

ArangoDB - A distributed open-source database with a flexible data model for documents, graphs, and key-values.

Microsoft SQL - Microsoft SQL is a best in class relational database management software that facilitates the database server to provide you a primary function to store and retrieve data.

Apache Cassandra - The Apache Cassandra database is the right choice when you need scalability and high availability without compromising performance.

SQLite - SQLite Home Page