DATA Duplication |op : c & U

13 views
Skip to first unread message

Laxmi manohar Reddy

unread,
Nov 1, 2025, 7:14:38 AM (12 days ago) Nov 1
to debezium

HI
I am using Debezium Oracle Connector (upgraded from version 2.7.3 to 3.x) to capture CDC events from Oracle 19c to Kafka. During initial snapshot, data is captured correctly. However, in the streaming mode, whenever I insert a new row in the source table, Debezium emits two events for that record:

  • create event (op: c) with expected data

  • An immediate update event (op: u) where some columns (notably RELATEDPARTY) have a before value of "__debezium_unavailable_value" and an after value with actual data (or null)

This pattern causes duplicate events and downstream processing issues.

What I Have Tried:

  • Enabled explicit before.image.enabled=true in connector configuration to capture before states.

  • Excluded problematic columns using column.exclude.list, which reduces duplicates but loses column data.

  • Verified Oracle supplemental logging and user privileges (LOGMINING, SELECT).

  • Upgraded to latest stable Debezium Oracle connector.

  • Investigated Oracle triggers or post-insert update logic.

What I Need Help With:

  • How to reliably avoid duplicate op: c and op: u events caused by placeholder before values without losing update event fidelity?

  • Are there best practices or configurations in Debezium or Oracle to get full consistent CDC events without spurious duplicates?

jiri.p...@gmail.com

unread,
Nov 3, 2025, 12:49:47 AM (11 days ago) Nov 3
to debezium
Hi,

could you pleas epost samples of those two events?

Jiri

Message has been deleted

Chris Cranford

unread,
Nov 3, 2025, 12:50:44 PM (10 days ago) Nov 3
to debe...@googlegroups.com
Hi,

As I mentioned on Zulip about this, it's because your table has a CLOB column and you have not set `lob.enabled` as `true`. If you enable LOB tracking, the connector will identify these two operations for the same logical row and combine them into a single event as you might expect.

-cc
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/debezium/18392c70-6fa3-4f42-93ab-4128ede31f13n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages