Skip to Main Content
  • Questions
  • Optimal ways to Capture Data Changes in Oracle 19c


Question and Answer

Connor McDonald

Thanks for the question, Siva.

Asked: February 29, 2024 - 7:18 am UTC

Last updated: March 01, 2024 - 5:22 am UTC

Version: ORaaS 19c

Viewed 1000+ times

You Asked

Hi Tom,

Greetings, we have a requirement to capture data changes for multiple tables and push to Kafka topic in the following format similar to GoldenGate provides.
"op_type":"Insert or Update","op_ts": "timestamp","current_ts": "timestamp", "before" :"Row Data before change", "after" :"Row Data after change"

Since we are not able to use GG at this point in time, exploring combination of PL/SQL and java based solution to push the data to Kafka topic. Please suggest an optimal solution to capture data changes in Oracle 19c. Thanks in advance!

and Connor said...

This post is a little dated but it nicely summarises a set of options you could consider

And there are plenty of others, eg, materialized view logs as a capture source etc.

But there's a reason we recommend GG, and its not "oh you want to sell us something" :-) Its proven to be most robust mechanism out there.