Simon Schmitke
02/10/2025, 7:45 PMkapa.ai
02/10/2025, 7:45 PMwal_keep_size
parameter in your PostgreSQL configuration. As mentioned in the [Postgres Troubleshooting documentation](https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#under-cdc-incremental-mode-there-are-still-full-refresh-syncs), you can set this to a higher value, e.g., '1GB' or more. 3. Sync Frequency: With 20 million updates per hour, you might need to run syncs more frequently to prevent WAL purging. Try scheduling more frequent syncs to keep up with the high update rate. 4. Check Replication Slot Status: Verify that the replication slot is active and the confirmed_flush_lsn
is advancing as expected. If it's not, there might be an issue with the replication slot registration. 5. Invalid CDC Position Behavior: In the advanced settings of your source connector, there's an option called "Invalid CDC position behavior". Try setting this to "Fail sync" to get more detailed error messages about what might be going wrong. 6. Debezium Heartbeat: Enable the Debezium heartbeat option in the advanced settings of your source connector. This can help prevent issues with growing WAL backlogs, as mentioned in [this forum post](https://discuss.airbyte.io/t/2675). 7. Version Check: Ensure you're using the latest versions of Airbyte and the Postgres source connector. Some users have reported issues with specific versions, so upgrading might help. If none of these solutions work, you might need to consider alternative strategies for syncing such a large and frequently updated table. This could include partitioning the table, using a different replication method, or consulting with Airbyte support for a more tailored solution to your specific use case.