The Oracle Database Management System (DBMS), commonly called simply Oracle, is produced and marketed by Oracle Corporation. A multi-model database management system, it was first released commercially in 1979. It is commonly used for Online Transaction Processing (OLTP), DW (Data Warehousing), or a combination of the two.
Among the key features of this database management system is the Oracle Change Data Capture (CDC). It captures any changes made to the Oracle database such as additions, deletions, and updates. This technology is a part of Oracle with the replication capability to note changes and identify data in a relational format that is suitable for ETL, EAI, and other applications.
For organizations working with the Oracle database, the Oracle Change Data Capture capability helps to lower data warehousing costs. This is because the CDC extracts data and transfers it to other data storage incrementally in real time. Only the changes made to a database are considered and there is no need to refresh bulk databases continuously to know about any changes made to it. Not only is it a faster method but it goes a long way to save time and money.
Technological Innovations of Oracle Change Data Capture
The Oracle Change Data Capture feature was first launched with the 9i version of the Oracle database in 2001. The technology involved placing triggers in the source database that automatically got activated whenever any change occurred. However, Database Administrators found this method quite complex and hence, Oracle introduced a new version of CDC with its 10g model.
In this new version of the Oracle Change Data Capture, redo logs of the database were used for CDC. When combined with Oracle Streams, this replication tool of Oracle could be captured and transmitted without using database triggers as in the previous model. Hence, this type of Oracle CDC was primarily a log-based one and its implementation did not require any modification of the structure of the source tables.
This changed mode of Oracle Change Data Capture became very popular and was well-received by the DBAs. However, Oracle chose to withdraw support for this feature from the 12c version and users had to pay for it in Oracle Golden Gate, the expensive replication software from Oracle.
Functioning of The Oracle Change Data Capture
Before working with the Oracle Change Data Capture, it is necessary to set up the journalizing models and the required infrastructure. This helps to capture changes made to the source database. Two journalizing modes are supported by the Oracle Data Integrator - the Simple Journalizing model and the Consistent Set Journalizing model.
In the first instance, any changes made to an individual data store are identified. In the second mode, all changes made in a data store in a group are marked out. This ensures the referential integrity of the data store. Only the group of data stores in the Consistent Set are journalized.