Redis Cloud vs PostgreSQL

Redis Cloud fits cache and key-value workloads where managed operations matter. PostgreSQL fits durable records you need to query with SQL in your own infrastructure, at the cost of running it yourself.

On this page

Redis Cloud vs PostgreSQL: when each option fits

Most teams reach this comparison because a Redis Cloud renewal, a plan change or a data residency rule forces a decision about where the data lives and who runs it. PostgreSQL fits when Redis is holding records that must survive restarts and be queried, and your team can operate a database. It does not fit when Redis is only a cache or session layer, because a relational database changes the data model, application code and testing, not just the hosting. For those workloads, Valkey or Redis Open Source 8 keeps the key-value model in place. Confirm the data model before you price either option.

Three questions decide it. First, what the Redis data is used for. Keys that cache query results, hold sessions or count rate limits can usually be rebuilt, and those workloads point to a Redis-compatible store. Data that is the system of record, such as orders, balances or entitlements, belongs in a database with transactions and constraints, which points to PostgreSQL. Second, how durable it must be. Redis Cloud Pro can back up on demand and at intervals from 24 hours down to 1 hour, Essentials backs up every 24 hours, and Free plans cannot back up through the console. Check the interval you actually have against the recovery point your business requires. Review the Redis Cloud backup documentation before you assume a recovery point. PostgreSQL offers point-in-time recovery from a base backup plus archived WAL files, but your team builds and tests that pipeline.

Third, whether the team can run PostgreSQL. PostgreSQL supports hot standby servers, synchronous and asynchronous replication, and incremental backups through pg_basebackup, but it does not detect a failed primary or promote a standby on its own, so automatic failover needs an external tool and a tested runbook. Connection pooling, monitoring and major version upgrades also fall to your team. Version 14 reached the end of its support window on November 12, 2026, so new deployments should start on version 15 or later. Review the PostgreSQL high availability documentation with your operators. A practical test: if nobody on the team has restored a PostgreSQL backup to a clean server and timed it, the team is not ready to own the database yet, and a renewal deadline is the wrong moment to learn that.

Which workloads should stay on Redis Cloud and which move to PostgreSQL?

This table matches common workloads to Redis Cloud or self-hosted PostgreSQL and states the condition under which each fit holds. Read each row against the data's durability needs, the regions where it must live, and the skills your team already has. The main takeaway is that Redis Cloud suits rebuildable, low-latency data, while records that need joins, transactions and controlled backups usually belong in PostgreSQL.

ScenarioBetter fitWhen the fit holds
Cache and session data that can be rebuiltRedis CloudKeys have short lifetimes, and a lost entry means a cache miss while the source of truth lives elsewhere.
Durable business records needing joins and transactionsPostgreSQLHolds when records span several tables, need ACID transactions, and must be queried with SQL for audits and reporting.
Writes in several regions at onceRedis Cloud ProActive-Active databases are listed on Pro. PostgreSQL's built-in replication has one writable primary, so multi-writer designs need extra tooling.
Data residency or air-gapped rulesPostgreSQL on your own serversHolds when data cannot leave your network. Confirm where Redis Cloud regions store data and check Redis Software licensing for on-premises needs.
Team already runs PostgreSQL in productionPostgreSQLExisting backup, upgrade, monitoring and on-call practices carry over, so the new work is mainly schema and data movement.
Backups you must restore to a point in timePostgreSQLPoint-in-time recovery uses a base backup plus archived WAL files. Redis Cloud Free cannot back up, and paid plans run on plan-defined schedules.
Small free-tier workload that can be lostRedis Cloud FreeThe pricing page lists one 30 MB database at $0. Holds when data is disposable, fits that limit, and needs no backup or export.

Why Redis and PostgreSQL store data in different shapes

Redis and PostgreSQL store data in different shapes, so the first step is to decide what the Redis Cloud database holds. Redis is a key/value datastore. It keeps working data in memory and exposes per-key data structures such as strings, hashes and sorted sets, which the application reads and writes with commands against a key. PostgreSQL is a relational database. It stores rows in tables, enforces constraints, runs transactions and answers questions with SQL joins across tables. A team that treats the two as interchangeable will map its data wrongly, so the comparison has to start from how each database is used today.

The consequence depends on the role the Redis database plays. When Redis Cloud serves as a cache, moving it is a change to application access patterns: how keys are named, which commands the code issues, how expiry is set, and how the application behaves when a key is missing. Valkey is compatible with Redis OSS 7.2 and earlier, so the engine swap may be smaller than the access pattern review, but confirm your client library and command usage against the target version. A cache can usually be rebuilt from its source of truth, so the plan is to warm the new cache and move traffic in steps.

When the Redis database holds durable records, moving it is a schema and data migration. You have to design tables, primary keys, constraints and indexes for data that was stored as key values, decide how nested structures are represented, and move records with counts checked for each entity. Before you start, list every key pattern in the Redis Cloud database, mark each one as cache or record, and ask whether any team relies on Redis persistence as the only copy. PostgreSQL's constraints will reject values that Redis accepted without checks, so plan that cleanup before cutover and confirm the mapping with application owners, not only with the database team.

Which Redis Cloud capabilities PostgreSQL covers, and which it leaves to you

This table compares what Redis Cloud provides as a managed service with what self-hosted PostgreSQL gives you as software. Read the Redis column as vendor-stated plan features and the PostgreSQL column as what you build, run and test yourself. The main takeaway is that PostgreSQL covers replication, backups and authentication, but automatic failover, multi-region writes and connection pooling need external tools or design work you must confirm.

CapabilityRedis CloudSelf-hosted PostgreSQL
LicenseCommercial managed service. Redis 8 is offered under RSALv2, SSPLv1 or AGPLv3 (Redis licenses page).PostgreSQL License, similar to the BSD or MIT licenses. No license fee for the software.
Free and paid tiersFree: $0 for one 30 MB database. Essentials from $0.007 per hour. Pro from $0.014 per hour, $200 monthly minimum (Redis pricing page).Software is free to run. You pay for servers, storage, staff time and any support contract.
Backups and point-in-time recoveryBackups on paid plans, Free cannot back up. Confirm point-in-time restore with Redis (Redis Cloud docs).Built in: base backups plus archived WAL for point-in-time recovery. You run the archive, retention and restore tests.
Replication, failover and uptimeManaged service, confirm failover behavior for your plan. Up to 99.999% uptime on Pro, up to 99.99% on Essentials with basic support (Redis pricing page).Hot standby and sync or async replication built in. Automatic failover needs external tools you choose. No uptime commitment.
Active-Active multi-regionAvailable on Pro: Active-Active multi-region databases (Redis pricing page).No built-in equivalent. Multi-region writes need external replication tooling, conflict handling and an application design you must confirm.
Private connectivityListed for Pro plans (Redis pricing page). Confirm the options available in your region.Network design is yours: private subnets, VPN and firewall rules inside your own network.
Authentication methodsConfirm the access controls and SSO options your plan supports with Redis.Password (SCRAM), GSSAPI, SSPI, LDAP, RADIUS, certificate, PAM and OAuth (PostgreSQL authentication docs).
Major version supportConfirm engine version support windows and upgrade timing with Redis for your plan.Major 14 support ended November 12, 2026. Majors 15 to 18 are supported (PostgreSQL versioning policy).
Connection poolingConfirm connection limits and client-side pooling behavior for your plan with Redis.No built-in pooler. Run PgBouncer, a lightweight external pooler. Version 1.26.1 was released October 14, 2026 with security fixes.

Where the data lives and who controls access on each side

The four areas below shape most security reviews for a move from Redis Cloud to PostgreSQL: where the data is held, who can authenticate, how the network reaches the database, and what evidence you can show. Each card names the decision you own on the PostgreSQL side and the question to put to Redis Cloud before you compare.

Where the data is stored

Redis Cloud runs the database on its managed infrastructure, so the live dataset is held by the vendor. You control where backups land: RDB files, one per shard, go to S3, Google Cloud Storage, Azure Blob Storage or an FTP or FTPS server you configure. PostgreSQL runs wherever you deploy it, in your cloud accounts, data centers or air-gapped network. Confirm the region that hosts your Redis Cloud data and the owner and retention of each backup bucket.

Redis Cloud backup docs

Authentication and admin access

PostgreSQL documents password, GSSAPI, SSPI, LDAP, RADIUS, certificate, PAM and OAuth methods, and you choose the method per host and user in pg_hba.conf. MD5 password authentication is deprecated in PostgreSQL 18 in favor of SCRAM, so confirm that older client drivers and roles support SCRAM before you upgrade. For Redis Cloud, confirm with the vendor whether SSO is included on your plan, how console users are provisioned and removed, and which roles can read or export backups.

PostgreSQL auth docs

Network exposure and private connectivity

Redis Cloud lists private connectivity on its Pro plan, so confirm that plan and the connection option you would use before you design application access. On self-hosted PostgreSQL, network exposure is a design decision you make: listen addresses, firewall rules, TLS settings and whether a pooler such as PgBouncer sits in front of the server. The database is reachable only along the paths you open.

Evidence for compliance reviews

DeployOpen prepares the controls, configuration records, access reviews and logs that a compliance assessment asks for in a self-hosted PostgreSQL environment. Independent auditors and certification bodies issue the reports and certifications, and DeployOpen does not. Ask Redis Cloud which audit reports exist and whether they cover the plan and region you use. Map each report to your own controls before you rely on it.

How backups, recovery and failover compare when you run PostgreSQL yourself

Redis Cloud sets backup frequency by plan. Pro subscriptions can back up on demand or on 24, 12, 6, 4, 2 or 1 hour intervals, paid Essentials plans back up every 24 hours, and Free plans cannot back up at all. Backups are RDB files, one per shard, written to the S3, Google Cloud Storage, Azure Blob Storage or FTP or FTPS location you configure. PostgreSQL does not schedule backups for you. You build the equivalent from base backups plus archived WAL, which enables point-in-time recovery, so you can restore to a chosen moment between two base backups if the WAL archive is continuous. Continuous archiving documentation describes the setup. Backup frequency, retention and storage location become design decisions with their own cost and risk, and your team owns them.

Incremental backups are the other lever. pg_basebackup can take incremental backups, and pg_combinebackup reconstructs the full data set at restore time, so you must keep the whole chain intact and test that restores work. Replication is built in. Hot standby servers serve read-only queries, and you choose synchronous replication, where a commit waits for standbys, or asynchronous replication, where a commit does not wait. PostgreSQL does not detect a failed primary or notify a standby. Automatic failover needs external tools that your team must select, test and operate, including how applications find the new primary. Patroni and CloudNativePG are two options to evaluate, and you should confirm the fit with your own environment before adopting either.

Define your recovery point objective (how much data loss is acceptable) and recovery time objective (how long the service can be unavailable) for each database before you pick a design. These two targets decide whether you need synchronous replication, how often base backups and WAL archiving run, and whether failover is automatic or a documented runbook. Then test both paths: restore a base backup plus WAL into an empty environment, and fail over a staging cluster, timing each run. An archive nobody has restored from is untested, so schedule the drill, record the results and repeat it after each PostgreSQL minor update. Ask who holds the backup keys, where the archives live, and who is paged when the primary fails.

What a Redis Cloud vs PostgreSQL cost comparison includes

Redis Cloud bills a subscription that moves with plan and dataset size. Self-hosted PostgreSQL moves that cost to servers, storage, staff and any support you buy, so the five cards below separate one-time work from recurring spend and name what changes each total.

Redis Cloud subscription

Redis Cloud is a recurring subscription with three tiers. Free covers one 30 MB database at $0, with no backup or export through the console. Essentials starts at $0.007 per hour for 250 MB to 100 GB on shared infrastructure. Pro starts at $0.014 per hour on dedicated infrastructure with a $200 monthly minimum. Confirm current rates on the pricing page, then ask the vendor to price your dataset size, backup frequency and uptime tier in writing.

Redis pricing page

PostgreSQL license fee

PostgreSQL is released under the PostgreSQL License, a liberal open source license similar to the BSD and MIT licenses, so the software carries no license fee. The cost sits elsewhere: servers, storage, staff and any paid support contract you buy. Check whether any extension, packaged distribution or support agreement you add carries its own terms. In the quote, ask the vendor to separate software charges from support charges so the comparison stays on like terms.

PostgreSQL licence

Infrastructure and backup storage

This is the recurring compute and storage bill you carry yourself. You size servers with enough memory and disk for your data and indexes, add replicas for failover, and pay for storage that holds base backups and archived WAL files. Redis Cloud already writes RDB backups to a bucket or FTP server you configure, so backup storage is a cost either way. Replica count and retention move this line most. Ask the quote for instance sizes, storage class, retention period and any cross-region copies.

Continuous archiving docs

Operations and upgrades

PostgreSQL ships minor releases at least every three months and a new major version about once a year, and each major version receives five years of support. Minor updates replace executables and restart the server, so they are a scheduled change. Major upgrades use dump and restore, pg_upgrade or logical replication, and the upgrade docs describe logical replication as needing only several seconds of downtime. Version 14 reached end of support on November 12, 2026, so confirm your running version before you quote.

PostgreSQL versioning policy

People, tooling and DeployOpen scope

Staff time is a recurring cost that scales with the number of databases. Someone owns patching, monitoring, capacity planning, on-call and restore tests. PostgreSQL does not detect a failed primary or notify a standby by itself, so automatic failover needs external tooling, and connection pooling usually means PgBouncer, which released version 1.26.1 on October 14, 2026 with security fixes. Fixed-scope DeployOpen work is one-time setup, hardening and migration, agreed in writing before work starts. Ongoing support is a retainer.

PostgreSQL failover docs

How to decide where each Redis workload goes

The path starts with what each Redis dataset does. Cache or ephemeral data that can be rebuilt stays in a Redis-compatible store, either Redis Cloud or Valkey or Redis Open Source 8 on your own servers. Durable records that need SQL, joins or transactions belong in PostgreSQL. Mixed workloads split by dataset, so each part follows its own branch. Before you settle on a branch, check your team's skills, data residency requirements and high availability needs. A self-hosted Redis-compatible store means your team runs replicas, failover and backups, while PostgreSQL needs external tools for automatic failover.

Decision path for splitting Redis workloads between a Redis-compatible store and PostgreSQL.

What a move from Redis Cloud to PostgreSQL involves

This sequence takes you from an inventory of how your applications use Redis Cloud to a retired subscription, with your data stored in PostgreSQL on infrastructure you control. Each step closes with a check that the platform team, application owners and security or compliance reviewers can verify. The export step usually needs custom code, because Redis Cloud backups are written in a format PostgreSQL cannot read.

  1. Inventory commands, data types, expirations and clients

    Application owners and the platform team list, for each application, the Redis commands it calls, the data types it stores (strings, hashes, sorted sets, streams and others), the keys that carry an expiration time, and the client library and version it uses. Reviewing the code paths is more reliable than relying on memory, so include background jobs and scripts as well as the main service. Each command or type with no direct PostgreSQL equivalent is flagged for redesign. The step is done when every application has a written entry and the flagged items have an owner.

  2. Map durable workloads to tables and constraints

    Decide which data must survive a restart and be queried or kept consistent, and which data is only a cache that can be rebuilt. Map each durable key pattern to a table, with primary keys, foreign keys and unique constraints where the data model requires them. PostgreSQL has no built-in per-row expiration like Redis key TTLs, so any expiring data needs a scheduled cleanup job that the team designs and tests. The step is done when the schema review is signed off by the application owners and every durable key pattern has either a table or a documented decision.

  3. Stand up PostgreSQL with SCRAM, replicas and recovery

    The DBA team installs a supported PostgreSQL major version on servers or cloud accounts you control. Set password_encryption to scram-sha-256 and require SCRAM in pg_hba.conf, since PostgreSQL 18 deprecated MD5 password authentication in favor of SCRAM. Add a hot standby and choose synchronous or asynchronous replication based on how much committed data you can afford to lose. Configure continuous archiving with base backups and WAL files, and select and test an external failover tool, because PostgreSQL does not detect a failed primary by itself. The step is done when a restore to a chosen point in time, run in a test environment, returns the expected data.

  4. Export Redis Cloud backups to your storage

    On a Redis Cloud Pro subscription, enable remote backup and point it at AWS S3, Google Cloud Storage, Azure Blob Storage or an FTP or FTPS server you configure, then run a backup now so you have a current copy. Redis Cloud writes one RDB file per shard. RDB is Redis's own format, so PostgreSQL cannot load it directly. Use a script or an application-side export that reads the data and writes it into staging files PostgreSQL can import. The step is done when every shard file is in your storage, the number of files matches the shard count on the subscription, and the team has confirmed the files can be read by the export tool.

  5. Load data and validate before cutover

    Import the staged data into PostgreSQL with a script or application job, then choose a validation approach: run both systems in parallel, or have the application read from Redis Cloud while shadow-reading the same keys from PostgreSQL and logging any mismatch. Compare record counts for each key pattern and check sampled values, including expiring and edge-case records. Confirm with the owners of each application that the observed mismatch rate is acceptable. The step is done when counts and sampled values match across the agreed observation period and the owners sign off on cutover.

  6. Retire the Redis Cloud subscription after retention

    Keep the exported RDB files and the final PostgreSQL backups for the retention period the organization sets, under the access controls and storage policy that apply to other backup copies. Confirm with Redis how the subscription is closed, what happens to the remote backup storage you own, and when billing stops. Remove application credentials for Redis Cloud before closing the subscription so nothing can reconnect. The step is done when the subscription is closed, billing has stopped in writing, and the retained backups are documented with their location and deletion date.

How much effort, time and team skill does leaving Redis Cloud need?

Can PostgreSQL replace Redis as a cache in our application?

PostgreSQL can store cached values, but it changes how the application works, so most teams keep a Redis-compatible store for cache workloads. Redis-style caches depend on in-memory reads, key expiry (TTL) and eviction policies, and PostgreSQL does not offer them in the same form, so the access pattern and client code change. A common split keeps Valkey or Redis Open Source 8 for cache and session data and moves durable records, transactional queues and reporting data to PostgreSQL. Test latency, memory use and write load on your own data before deciding. Record the decision and the list of key families that move in the written scope.

How does PostgreSQL licensing compare with Redis Cloud pricing?

PostgreSQL has no license fee under the PostgreSQL License, a liberal license similar to the BSD or MIT licenses, so your cost is infrastructure and people. Redis Cloud bills by plan: the Redis pricing page lists Free at $0 for one 30 MB database, Essentials from $0.007 per hour (about $5 a month) for 250 MB to 100 GB, and Pro from $0.014 per hour with a $200 monthly minimum. Your PostgreSQL costs come from servers or cloud instances, storage, replicas for failover, backup storage, monitoring, and the staff time to run them. Migration is a one-time cost, while instances, storage, backup retention and on-call time recur. Ask any quote to split one-time work from monthly run costs, and to name who is paid for each.

How long does moving Redis Cloud data to PostgreSQL take?

The timeline depends on three things: the data model, the number of applications that use Redis, and the high availability design. Each application needs its client library, key naming and failure handling reviewed, and each data set needs a cutover plan with a rollback step. Backup restore testing, failover tests and load tests add time, and they should not be dropped to shorten the plan. Ask any implementation partner for a written scope that lists applications, data sets, cutover windows and acceptance tests, and for a schedule tied to those items. Your team should confirm the schedule against its change calendar before committing.

What team skills does a self-hosted PostgreSQL move require?

The team needs four skill areas: PostgreSQL operations, backup and restore testing, failover tooling and application changes.

  • PostgreSQL operations: roles, connection limits, vacuum and autovacuum tuning, minor updates and major upgrades with pg_upgrade or logical replication.
  • Backup and restore testing: base backups, archived WAL for point-in-time recovery, and regular restores into a separate environment to prove the process works.
  • Failover tooling: PostgreSQL does not detect a failed primary and notify the standby, so automatic failover needs an external tool and tested runbooks.
  • Application changes: connection pooling with PgBouncer, new data access code, and changes to expiry and cache logic.

Confirm each skill is covered by a named person, or by an outside partner, before the plan starts.

Can our own team run the Redis Cloud exit without outside help?

Yes, if the skills above already exist in your team; if they do not, fixed-scope help or a retainer covers the gap. DeployOpen plans, implements, integrates, backs up, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ongoing support, upgrades and continuous testing are available as retainers, which suits teams that keep PostgreSQL in-house but want outside support for each upgrade. Ask any quote to name which tasks your staff keep and which the partner performs.

Which PostgreSQL version should a new build use today?

Use PostgreSQL 17 or 18 for a new build, because version 14 reached the end of its support on November 12, 2026. Version 18 was first released on September 25, 2025, and is supported until November 14, 2030; version 17 is supported until November 8, 2029. Version 16 is supported until November 9, 2028, and version 15 until November 11, 2027. Versions 13 and earlier are no longer supported, so they need a planned upgrade path first. PostgreSQL ships a new major version about once a year and minor releases at least every three months, so plan for a yearly review, as described in the PostgreSQL versioning policy.

Does DeployOpen issue a compliance certification for the new setup?

No, DeployOpen does not issue compliance certifications, audit reports or attestations. It prepares the systems, controls and evidence that compliance assessments need, and independent auditors and certification bodies perform the assessment and issue the result. For a self-hosted PostgreSQL platform, evidence often includes access control records, audit logging, backup and restore test results, change records and patch history. Ask your auditor which controls and evidence they expect before the build starts, so the environment is set up to produce them.

How DeployOpen helps evaluate, implement and migrate PostgreSQL

DeployOpen approaches Redis Cloud vs PostgreSQL as a scoped engagement: we map which workloads belong in a relational store, define the data model and access patterns, then plan the move in writing. Work runs inside your own cloud accounts, data centers or air-gapped networks, and the result is a PostgreSQL service your teams can review.

How we scope

  • The written scope lists which Redis Cloud workloads move to PostgreSQL and which stay on Redis.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ask for a quote that itemizes data modeling, replication design, backups and handover testing.

How we build

  • Map each Redis key pattern to tables, indexes and access rules before any data moves.
  • Deploy PostgreSQL in your infrastructure with the authentication methods your policy requires, such as SCRAM or certificate authentication.
  • Configure replication, PgBouncer pooling and point-in-time recovery, then test each failure path.

How we hand over

  • Document the schema, backup restores, upgrade runbook and on-call steps for your own team.
  • Run restore tests and cutover checks, including row counts and sample queries, before clients switch.
  • Prepare controls and evidence for your assessment, which independent auditors then review.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Plan minor updates as restarts, and major upgrades through pg_upgrade or logical replication.
  • Confirm your PostgreSQL major version and its support end date against the PostgreSQL versioning policy.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.