Source database maintenance
Source databases may undergo scheduled or ad hoc maintenance processes, including:
- Vacuuming
- Backups
- Log switching
- Log archiving
Make sure that tables and data are not locked or otherwise inaccessible when the initial snapshot phase of a pipeline is carried out. These processes can potentially disrupt CDC processes and give the impression that the pipeline is stalled. For example, if an agent log shows data was being processed but then shows no progress for a prolonged period, check with your source database administrator or admin that the data is accessible.
Note
PostgreSQL automated vacuuming can cause pipelines to stall. In these circumstances, terminate the vacuuming process to allow the CDC pipeline to continue.