Skip to content

Commit 0a4c207

Browse files
authored
Merge pull request #4454 from ClickHouse/db-pipe-failover-slot
Add doc for Postgres ClickPipe failover slot setting
2 parents 1dfa4e0 + b795bd5 commit 0a4c207

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

docs/integrations/data-ingestion/clickpipes/postgres/faq.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ sidebar_position: 2
66
title: 'ClickPipes for Postgres FAQ'
77
---
88

9+
import failover_slot from '@site/static/images/integrations/data-ingestion/clickpipes/postgres/failover_slot.png'
10+
import Image from '@theme/IdealImage';
11+
912
# ClickPipes for Postgres FAQ
1013

1114
### How does idling affect my Postgres CDC ClickPipe? {#how-does-idling-affect-my-postgres-cdc-clickpipe}
@@ -345,3 +348,10 @@ If your initial load has completed without error but your destination ClickHouse
345348
Also worth checking:
346349
- If the user has sufficient permissions to read the source tables.
347350
- If there are any row policies on ClickHouse side which might be filtering out rows.
351+
352+
### Can I have the ClickPipe create a replication slot with failover enabled? {#failover-slot}
353+
Yes, for a Postgres ClickPipe with replication mode as CDC or Snapshot + CDC, you can have ClickPipes create a replication slot with failover enabled, by toggling the below switch in the `Advanced Settings` section while creating the ClickPipe. Note that your Postgres version must be 17 or above to use this feature.
354+
355+
<Image img={failover_slot} border size="md"/>
356+
357+
If the source is configured accordingly, the slot is preserved after failovers to a Postgres read replica, ensuring continuous data replication. Learn more [here](https://www.postgresql.org/docs/current/logical-replication-failover.html).

scripts/aspell-dict-file.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ autovacuum
271271
VACUUM
272272
resync
273273
Resync
274+
failovers
274275
--docs/integrations/data-ingestion/clickpipes/mysql/faq.md--
275276
PlanetScale
276277
Planetscale

scripts/aspell-ignore/en/aspell-dict.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3034,6 +3034,7 @@ resultset
30343034
resync
30353035
resynchronization
30363036
resyncing
3037+
failovers
30373038
retentions
30383039
rethrow
30393040
retransmit
13.7 KB
Loading

0 commit comments

Comments
 (0)