Index › IT › Data platform › NoSQL › Compare › Redis vs PostgreSQL

NoSQL databases

December 2026 EditionUpdated monthly

We asked fourteen AI assistants which NoSQL database a business should buy, six ways each, as small business, mid-market and enterprise companies.

Redis vs PostgreSQL

Zero of fourteen AI assistants named Redis first on the direct prompt; zero named PostgreSQL. Redis was named by fourteen of the fourteen AI assistants and PostgreSQL by ten and Redis carries 61 labels and PostgreSQL 14, so the shares are not directly comparable.

Redis

criticized challenger

Named in two categories this edition.

PostgreSQL

accepted challenger

Named in six categories this edition.

Share of first picks2%2%Of first picks across four ways of asking (asked directly, reworded, on a budget and at your size), 0 to 100.
Warned about26%0%How often its mentions were warnings, 0 to 100.
Rank in category#5#6A position in a field of 13; printed, not drawn.
Labels6114A count; the two differ.
The two percentage rows are drawn on one 0 to 100 track, Redis reading right to left. Rank and label count are printed, not drawn.MongoDB was named alongside these two in fourteen of the fourteen direct answers. MongoDB vs Redis · MongoDB vs PostgreSQL · Amazon DynamoDB vs Redis

Share is the count of first picks across four ways of asking (asked directly, reworded, on a budget and at your size) over all fourteen AI assistants, for a mid-market B2B company; rank is within the category; every quote names the assistant and the question it came from. Both figures come from the nosql databases page.

By way of asking

How many of the fourteen AI assistants made each the first pick, per way of asking, and how many argued against it.
RedisFirst picks, of fourteen AI assistantsPostgreSQL
Asked directly003 against Redis
Reworded002 against Redis
Comparing options00
On a budget111 against Redis
At your size00
Which to avoid0110 against Redis
Bars are first picks, 0 to 14 each sideAssistants that argued againstAn assistant can name both, so the two sides of a row do not sum to fourteen.

Every assistant, every way of asking

The eighty-four answers behind the chart above, one cell each: where Redis and PostgreSQL stood in it.
AssistantAsked directlyRewordedComparing optionsOn a budgetAt your sizeWhich to avoid
Claude Haiku 4.5
GPT-5.4 mini
Gemini 3.5 Flash
Perplexity Sonar
Grok 4.20
Mistral Small
DeepSeek V4 Flash
Llama 4 Maverick
Qwen 3.7 Flash
Kimi K2
GLM 4.7 FlashX
MiniMax M2.5
GPT-6 Luna
Muse Glimmer 30B
Redis PostgreSQL first pick named as an alternative argued againstblank: not namedEach cell is one answer, Redis on the left and PostgreSQL on the right.

Asked directly

The plain question, one answer per assistant, grouped by where Redis and PostgreSQL stood in it.

Neither was the first pick, one was named

4 of 14 AI assistantsThe answer put something else first and named one of the two as an alternative.
Claude Haiku 4.5MongoDB alternatives: Amazon DynamoDB, PostgreSQL, Redis
Gemini 3.5 FlashMongoDB alternatives: Amazon DynamoDB, Azure Cosmos DB, Neo4j, OpenSearch / Elasticsearch, Redis, Valkey
Perplexity SonarMongoDB alternatives: Amazon DynamoDB, Couchbase, PostgreSQL
Kimi K2MongoDB alternatives: ClickHouse Cloud, Pinot, PostgreSQL

Neither was named

10 of 14 AI assistantsThe answer made no first pick from these two in this category.
GPT-5.4 miniMongoDB alternatives: Amazon DynamoDB, Couchbase
Grok 4.20MongoDB alternatives: Amazon DynamoDB, Couchbase
Mistral SmallMongoDB
DeepSeek V4 FlashMongoDB alternatives: Amazon DynamoDB, Couchbase
Llama 4 MaverickMongoDB
Qwen 3.7 FlashMongoDB alternatives: Amazon DynamoDB, Couchbase
GLM 4.7 FlashXMongoDB alternatives: Couchbase
MiniMax M2.5MongoDB alternatives: Amazon DynamoDB, Apache Cassandra, Couchbase
GPT-6 LunaMongoDB alternatives: Amazon DynamoDB, Azure Cosmos DB
Muse Glimmer 30BMongoDB alternatives: Amazon DynamoDB, Couchbase

Bold names in an answer are the products the judge labeled a first pick; an assistant naming several gives each of them that label. The full answer text for every row is in the record.

By company size

The same question asked on behalf of a different buyer. Each standing is computed within its company size and they are never added together. The figures above are the mid-market standing, which is the one the category orders by.
Small business
PostgreSQL leads by two points.
PostgreSQL2%#4 of 12
Redis0%#5 of 12
The full small business standing →
Mid-marketThe figures above
Level: the same share of first picks.
Redis2%#5 of 13
PostgreSQL2%#6 of 13
The full mid-market standing →
Enterprise
The order flips: Redis leads at enterprise.
Redis4%#6 of 12
PostgreSQL0%#– of 12
The full enterprise standing →

What the assistants said about Redis

Every warning with a quote, up to three, then the strongest recommendations, up to three. Six of seven in this category shown.

“Redis transitioned from BSD to dual RSALv2/SSPLv1 licenses in early 2024. If you rely on strictly open-source software (OSI-approved), you need to be careful.” Gemini 3.5 Flash · Which to avoid · caution
“risky as the only store for critical financial or durable business data unless persistence, replication, backup, and recovery are carefully designed” Perplexity Sonar · Which to avoid · caution
“only as a *secondary* companion (caching, sessions, rate limiting), not your primary store. It's in-memory and durability isn't its strength.” DeepSeek V4 Flash · Reworded · caution
“Redis is ideal for in-memory speed” Llama 4 Maverick · On a budget · first pick
“Pure key-value leader for caching, sessions, real-time features, or pub/sub in B2B platforms. Extremely fast (in-memory), but not ideal as a primary database” Grok 4.20 · Reworded · alternative
“If your primary need is caching, real-time leaderboards, or session storage, Redis is the industry standard.” Qwen 3.7 Flash · On a budget · alternative

What the assistants said about PostgreSQL

Every warning with a quote, up to three, then the strongest recommendations, up to three. Three of three in this category shown.

“Default to Postgres unless you have a narrow, large-scale use-case that clearly needs horizontal scaling.” Kimi K2 · Which to avoid · first pick
“Best Overall Choice for Low Budgets: PostgreSQL (with JSONB)” Gemini 3.5 Flash · On a budget · first pick
“consider it if transactional consistency, relational reporting, and SQL are more important than horizontal NoSQL scaling” Perplexity Sonar · Reworded · alternative
Also compared

Comparisons are drawn for the top eight products in each category, each against each. The output is the assistants' output; nothing here is a recommendation by the index.