# Redis Connect PostgreSQL

Redis Connect PostgreSQL is an end-of-life connector that loads existing data and continuously replicates PostgreSQL change data into Redis Enterprise for real-time access. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/6197/redis-connect-postgresql

## Description

Redis Connect PostgreSQL is an end-of-life connector that loads existing data and continuously replicates PostgreSQL change data into Redis Enterprise for real-time access.

## Platform availability

Available on 0 of 6 install platforms.

## Health score

57/100 (Fair), based on 2 of 4 factors.
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Light to run: 100 (125 MB minimum RAM)

## Links

- Docker Hub: https://hub.docker.com/r/redislabs/redis-connect-postgres
- GitHub: https://github.com/redis-field-engineering/redis-connect-dist

## Common questions

### Can I replicate only selected PostgreSQL tables to Redis and map them to Redis data types?

Redis Data Integration can sync the PostgreSQL tables you choose to Redis and transform the data into any Redis data type without coding.

### Why can a Docker Compose service reach Postgres but not Redis by hostname?

This can happen when the application connects to Postgres by service name but cannot reach Redis or Artemis using container hostnames. Check the Docker Compose networking between the containers.

### How do I keep multiple keys in one Redis Cluster slot so a transaction or pipeline is accepted?

Add the same tag to each key, like {tag}foo, so the keys map to the same slot. That lets the cluster accept the pipeline instead of rejecting it.

### Who is responsible for backups and restores if the PostgreSQL side is self-hosted?

You become fully responsible for backups, downtime, and patching when self-hosting PostgreSQL. Make sure you actually verify that you can restore from your backups.

## Alternatives

- Apache Cassandra
- Azure Cosmos DB
- CouchDB: Apache CouchDB is a document database that stores JSON data and speaks HTTP, with built-in replication, change tracking, and flexible views…
- KeyDB: A Helm chart for KeyDB multimaster setup
- MongoDB: MongoDB is a cross-platform, open-source document-oriented NoSQL database that stores data in flexible, JSON-like BSON documents instead of…
- Redis: Redis is a fast, in-memory data structure store that can be used as a database, cache, and message broker.
- Valkey: A Helm chart for running Valkey on Kubernetes.
- apache-cassandra
- apache-couchdb
- cassandra: Apache Cassandra is an open source distributed database management system designed to handle large amounts of data across many servers, pro…
- cockroach
- couchdb-v2.x: Apache CouchDB is an open-source, document-oriented NoSQL database that stores data as JSON documents with a simple HTTP/JSON interface, bu…

---
Source: Our Local Host (https://ourlocalhost.com/app/6197/redis-connect-postgresql), the self-hosted and open-source app directory.
