<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/cdc-failures-are-usually-workflow-failures-yknruyset" -->

---
title: CDC failures are usually workflow failures | daily.dev
description: Change data capture (CDC) failures rarely stem from the source database's inability to produce changes. Instead, the real issues are workflow-related:...
canonical: https://daily.dev/posts/cdc-failures-are-usually-workflow-failures-yknruyset
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: CDC failures are usually workflow failures | daily.dev
og:description: Change data capture (CDC) failures rarely stem from the source database's inability to produce changes. Instead, the real issues are workflow-related:...
og:url: https://daily.dev/posts/cdc-failures-are-usually-workflow-failures-yknruyset
og:image: https://api.daily.dev/og/posts/yKnruYsET.png
og:image:alt: CDC failures are usually workflow failures
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# CDC failures are usually workflow failures

**[The Data Engineer](https://daily.dev/sources/thedataengineer)** · [@slotix](https://daily.dev/slotix) · 1 min read · 7 upvotes · 0 comments

## Summary

Change data capture (CDC) failures rarely stem from the source database's inability to produce changes. Instead, the real issues are workflow-related: misaligned boundaries between initial load and CDC, checkpoints advancing before target writes are durable, non-idempotent retries, ordering breaks from parallel workers, hidden lag from long transactions, and late handling of schema changes. Using PostgreSQL as an example, the piece argues that recovery semantics, ordering, checkpoints, and restart behavior matter more than simply reading changes.

## Content

CDC usually does not fail because the source database cannot produce changes.

The real problems start around the workflow:

- initial load and CDC are not tied to the same boundary
- checkpoints move before target writes are durable
- retries replay events into non-idempotent targets
- parallel workers break ordering
- long transactions create hidden lag
- schema changes are handled too late

PostgreSQL is the example here, but the failure pattern is common in data pipelines: reading changes is only one part. Recovery semantics, ordering, checkpoints, and restart behavior matter more.

https://streams.dbconvert.com/blog/postgresql-cdc-breaks-in-production

## Similar posts on daily.dev

- [How We Pushed CDC into Postgres](https://daily.dev/posts/how-we-pushed-cdc-into-postgres-gk0os0oyc) · Hacker News · 1 upvotes · 0 comments
- [Change Data Capture vs Batch ETL for AI Agents](https://daily.dev/posts/change-data-capture-vs-batch-etl-for-ai-agents-hbhd2ya7k) · Redis · 0 upvotes · 0 comments
- [pg-cdc Frustratingly simple Postgres change data capture to AWS S3](https://daily.dev/posts/pg-cdc-frustratingly-simple-postgres-change-data-capture-to-aws-s3-l9lx1hrg2) · PostgreSQL · 8 upvotes · 0 comments

---

Tags: [#postgresql](https://daily.dev/tags/postgresql), [#data-engineering](https://daily.dev/tags/data-engineering), [#distributed-systems](https://daily.dev/tags/distributed-systems), [#change-data-capture](https://daily.dev/tags/change-data-capture)

[View this post on daily.dev](https://daily.dev/posts/cdc-failures-are-usually-workflow-failures-yknruyset)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/cdc-failures-are-usually-workflow-failures-yknruyset","headline":"CDC failures are usually workflow failures","text":"Change data capture (CDC) failures rarely stem from the source database's inability to produce changes. Instead, the real issues are workflow-related: misaligned boundaries between initial load and CDC, checkpoints advancing before target writes are durable, non-idempotent retries, ordering breaks from parallel workers, hidden lag from long transactions, and late handling of schema changes. Using PostgreSQL as an example, the piece argues that recovery semantics, ordering, checkpoints, and restart behavior matter more than simply reading changes.","url":"https://daily.dev/posts/cdc-failures-are-usually-workflow-failures-yknruyset","datePublished":"2026-09-04T06:47:37.637Z","dateModified":"2026-09-04T06:47:54.442Z","author":{"@type":"Person","name":"Dmitry Narizhnykh","url":"https://daily.dev/slotix","image":"https://lh3.googleusercontent.com/a/AEdFTp5Tyrb-dB0VqHuAt_Gs4kVBu5lVH0YO7HRSEFeZQA=s96-c","description":"simplifying how data moves across databases and files","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":70}},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":7},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/thedataengineer","name":"The Data Engineer"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Data Engineer","item":"https://daily.dev/squads/thedataengineer"},{"@type":"ListItem","position":3,"name":"CDC failures are usually workflow failures"}]}
```

