Oracle Change Data Capture: Concept, Benefits, Modes

  

Oracle CDC helps real-time data integration across enterprises, speeds data warehousing, and improves the performance and availability of databases. It also enables several replication tasks without lowering the performance of the source database.

Among the tasks that may be carried out with Oracle CDC are offloading analytics queries from databases in production to data warehouses or other analytical platforms. It is also possible to migrate databases to the cloud without downtime and extract incremental data from multiple sources for transfer to a data warehouse.


Benefits of Oracle CDC

There are several benefits of Oracle Change Data Capture.

  • Oracle CDC records all operations like Insert, Update, and Delete along with all values before and after the modifications.
  • Asynchronous CDC can be configured to have a negligible impact on the source database.
  • CDC includes DBMS_CDC_PUBLISH and DBMS_CDC_SUBSCRIBE packages, which help to easily publish and subscribe to interfaces.
  • Running costs of databases are reduced with Oracle CDC, as the extraction of modified data from the Oracle database is greatly simplified.  

Capturing and Publishing Change Data Capture

There are two modes to capture changed data with Oracle CDC.

  1.    Synchronous: Triggers are set at the source database, ensuring that changed data is    captured immediately. This is because each SQL statement performs a DML (Data    Manipulation Language) activity (Insert, Update, or Delete). In this mode,   modified data is captured as a part of the transaction that changes the source table.
  2.    Asynchronous: In this mode, data is sent to the redo log files, and changed data is   captured only after a SQL statement performs a DML activity. Modified data is not   captured as a component of the transaction that changes the source table and therefore   has no effect on that transaction. The three modes of asynchronous CDC are HotLog,   Distributed HotLog, and AutoLog. 

Comments

Popular posts from this blog

SQL Server Change Data Capture – A Comprehensive Overview

What is SQL Server Change Data Capture – Evolution and Function

An Overview Of Moving Databases From Oracle to SQL Server