Oracle Changed Data Capture Explained, Technology, Modes, and Benefits
Before going to Oracle Change Data Capture (CDC), it is necessary to understand the concept of CDC. Change Data Capture (CDC) is software design patterns that are mainly used to monitor changes in data in the source database. This is done so that at a later stage, relevant action can be taken on the changes made. Data capture, data identification, and data delivery are all integral components of CDC.
Now coming to Oracle CDC, this technology assists real-time data integration across system networks of enterprises thereby speeding up data warehousing activities and improving manifold the performance and availability of databases. A critical benefit of Oracle CDC is that when replication is done on Oracle database with technologically advanced tools and non-intrusive methods, there is no performance degradation or lag in speeds. These tasks include offloading analytics queries from databases in production to data warehouses and migrating databases to the cloud without stopping work or downtime. Changes made to data, also called incremental data for additions to the databases, can be extracted from different sources and transferred to a data warehouse with Oracle CDC.
One of the main functions of Oracle Change Data Capture is preserving and capturing the state of the data. It can either be in any database or in a data warehouse environment that can also be used in a data repository system. Hence, the task of developers for setting up Oracle CDC mechanisms is made easy as they can avail multiple ways to do so, starting from application logic to physical storage in one or several groupings of system layers.
Modes of Oracle CDC
Oracle Data Integrator supports two journalizing modes.
· Synchronous Mode: Triggers are placed at the source database. This makes sure that all changes to the data are triggered and captured immediately. Thus, each SQL statement executes a Data Manipulation Language (DML) activity which is inserting, deleting, or updating data. In Synchronous mode, the changed data is taken as a part of the transaction that changed the data at source. This feature of Oracle CDC is included in the Oracle Standard Edition and the Oracle Enterprise Edition.
· Asynchronous Mode: Data is sent to the redo logs. The changed data is captured after SQL statement is executed through a DML process. Here, the changed data is not captured as a part of the transactions that were responsible for changes to the table at source and therefore, do not affect the transaction. The three modes of asynchronous Oracle CDC are Auto Log, Hot Log, and Distributed Hot Log. The Asynchronous Change Data Capture is based on and offers a relational interface to the now discontinued Oracle Streams.
Oracle CDC is a very affordable solution as overheads are reduced by simplifying the extraction of the modified data from the Oracle database. It has come a long way from its early stages to optimize database administration, replication, and migration activities.
















