diff --git a/docs/integrations/data-ingestion/clickpipes/postgres/faq.md b/docs/integrations/data-ingestion/clickpipes/postgres/faq.md index 99e554ef6d4..855fcd92796 100644 --- a/docs/integrations/data-ingestion/clickpipes/postgres/faq.md +++ b/docs/integrations/data-ingestion/clickpipes/postgres/faq.md @@ -6,6 +6,9 @@ sidebar_position: 2 title: 'ClickPipes for Postgres FAQ' --- +import failover_slot from '@site/static/images/integrations/data-ingestion/clickpipes/postgres/failover_slot.png' +import Image from '@theme/IdealImage'; + # ClickPipes for Postgres FAQ ### 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 Also worth checking: - If the user has sufficient permissions to read the source tables. - If there are any row policies on ClickHouse side which might be filtering out rows. + +### Can I have the ClickPipe create a replication slot with failover enabled? {#failover-slot} +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. + + + +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). diff --git a/scripts/aspell-dict-file.txt b/scripts/aspell-dict-file.txt index 5d4364c2971..5ea68517808 100644 --- a/scripts/aspell-dict-file.txt +++ b/scripts/aspell-dict-file.txt @@ -271,6 +271,7 @@ autovacuum VACUUM resync Resync +failovers --docs/integrations/data-ingestion/clickpipes/mysql/faq.md-- PlanetScale Planetscale diff --git a/scripts/aspell-ignore/en/aspell-dict.txt b/scripts/aspell-ignore/en/aspell-dict.txt index f3b2b65337b..2f42efbe2c2 100644 --- a/scripts/aspell-ignore/en/aspell-dict.txt +++ b/scripts/aspell-ignore/en/aspell-dict.txt @@ -3034,6 +3034,7 @@ resultset resync resynchronization resyncing +failovers retentions rethrow retransmit diff --git a/static/images/integrations/data-ingestion/clickpipes/postgres/failover_slot.png b/static/images/integrations/data-ingestion/clickpipes/postgres/failover_slot.png new file mode 100644 index 00000000000..bf28aeae8e2 Binary files /dev/null and b/static/images/integrations/data-ingestion/clickpipes/postgres/failover_slot.png differ