# PeerDB-io/peerdb

Fast, Simple and a cost effective tool to replicate data from Postgres to Data Warehouses, Queues and Storage

Repository: https://github.com/PeerDB-io/peerdb
Canonical: https://ross.abutalabs.com/products/peerdb
Homepage: https://peerdb.io
Language: Go
License: AGPL-3.0
License Family: copyleft
Topics: etl, sql, bigquery, cloud-native, distributed-systems, kafka, postgres, postgresql, realtime, rust, snowflake, stream-processing, cdc, clickhouse, s3, eventhubs
Last push: 2026-08-26T22:34:50+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 88
- inputs: {"age_days": 1236, "days_push": 7, "days_rel": 7, "gap_med": 4, "n_releases_24m": 136}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3252, forks 209 (observed 2026-08-28T04:07:52.140632+00:00)

## What it is
PeerDB is an open-source ETL/CDC tool that streams data from Postgres to data warehouses, queues, and storage engines, with an actively maintained focus on Postgres-to-ClickHouse and Postgres-to-Postgres replication. It is controlled via SQL through a Postgres-compatible interface and supports log-based CDC, schema change propagation, TOAST columns, and parallel initial loads.

## Use cases
- replicate postgres data to clickhouse in real time
- stream postgres changes to a data warehouse via cdc
- sync postgres to postgres replication
- set up etl from postgres using sql commands
- keep analytics warehouse in sync with production postgres
- migrate large postgres tables with parallel initial load

## When to choose
- you run Postgres at the heart of your data stack and need fast, low-latency replication
- you need Postgres-native feature support like jsonb, arrays, geospatial types, and TOAST columns
- you want SQL-based ETL configuration and automatic schema change propagation
- you are targeting ClickHouse or another Postgres as the destination

## When to avoid
- your destination is Snowflake, BigQuery, Kafka, S3, or other now-deprecated connectors without a maintenance commitment
- you need a broad matrix of source and destination connectors rather than Postgres-centric replication
- you require a fully managed turnkey solution without self-hosting Docker infrastructure
- you rely on QRep or XMIN mirror types, which are deprecated

## Facets
- artifact type: service
- maturity: active
- function: etl, streaming, database
- domain: databases, big-data, analytics
- platform: self-hosted, cloud, go, rust
- tags: postgres, clickhouse, change-data-capture, data-replication, data-warehouse, sql-interface, temporal, cdc, data-engineering, docker

## Member repositories
- PeerDB-io/peerdb (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:52.140632+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:24:24.684951+00:00, confidence not recorded.
  - readme: https://github.com/PeerDB-io/peerdb (fetched 2026-08-28T04:07:52.140632+00:00, sha db17cf1fda0d)
  - homepage: https://peerdb.io (fetched 2026-08-29T09:37:01.739086+00:00, sha 48c8637be0a8)
  - site_page: https://docs.peerdb.io/introduction (fetched 2026-08-29T09:37:01.748631+00:00, sha fcb28005eb78)
  - site_page: https://www.peerdb.io/about (fetched 2026-08-29T09:37:01.750885+00:00, sha cb5e7754b9f6)
  - site_page: https://docs.peerdb.io/quickstart/quickstart (fetched 2026-08-29T09:37:01.752735+00:00, sha 7436a33dbb2a)
  - site_page: https://docs.peerdb.io/features/schema-changes (fetched 2026-08-29T09:37:01.754597+00:00, sha a02dc61b9a8f)
  - site_page: https://docs.peerdb.io/features/supported-connectors (fetched 2026-08-29T09:37:01.756188+00:00, sha e2759c264682)
- Data as of 2026-08-30T08:39:29.467469+00:00.
