Setting up Changed Data Capture

Oracle Database 2-9 ■ By default, the STREAMS_OBJECT_GROUP option is set to CDC. The value entered is used to generate object names that can be shared across multiple CDC sets journalized with this JKM. If the value of this option is CDC, the naming rules listed in Table 2–3 will be applied. Note that this option can only take upper case ASCII characters and must not exceed 15 characters. ■ VALIDATE enables extra steps to validate the correct use of the KM. This option checks various requirements without configuring anything for configuration steps, please see AUTO_CONFIGURATION option. When a requirement is not met, an error message is written to the log and the execution of the JKM is stopped in error. By default, this option is set to Yes in order to provide an easier use of this complex KM out of the box Using the Update Date JKM This JKM assumes that a column containing the last update date exists in all the journalized tables. This column name is provided in the UPDATE_DATE_COL_ NAME knowledge module option.

2.7 Setting up Data Quality

Oracle Data Integrator provides the CKM Oracle for checking data integrity against constraints defined on an Oracle table. See Set up Flow Control and Post-Integration Control in the Oracle Fusion Middleware Developers Guide for Oracle Data Integrator for details. Oracle Data Integrator provides the Knowledge Module listed in Table 2–4 to perform a check on Oracle. It is also possible to use the generic SQL KMs. See Chapter 4, Generic SQL for more information.

2.8 Designing an Interface

You can use Oracle as a source, staging area or a target of an integration interface. It is also possible to create ETL-style integration interfaces based on the Oracle technology. The KM choice for an interface or a check determines the abilities and performance of this interface or check. The recommendations in this section help in the selection of the KM for different situations concerning an Oracle data server. Table 2–3 Naming Rules Example for the CDC Group Name Capture Process ODI_CDC_C Queue ODI_CDC_Q Queue Table ODI_CDC_QT Apply Process ODI_CDC_A Table 2–4 Check Knowledge Modules for Oracle Database Recommended KM Notes CKM Oracle Uses Oracles Rowid to identify records 2-10 Oracle® Fusion Middleware Connectivity and Knowledge Modules Guide for Oracle Data Integrator

2.8.1 Loading Data from and to Oracle

Oracle can be used as a source, target or staging area of an interface. The LKM choice in the Interface Flow tab to load data between Oracle and another type of data server is essential for the performance of an interface.

2.8.1.1 Loading Data from Oracle

The following KMs implement optimized methods for loading data from an Oracle database to a target or staging area database. In addition to these KMs, you can also use the Generic SQL KMs or the KMs specific to the other technology involved.

2.8.1.2 Loading Data to Oracle

The following KMs implement optimized methods for loading data from a source or staging area into an Oracle database. In addition to these KMs, you can also use the Generic SQL KMs or the KMs specific to the other technology involved.

2.8.2 Integrating Data in Oracle

The data integration strategies in Oracle are numerous and cover several modes. The IKM choice in the Interface Flow tab determines the performances and possibilities for integrating. Target or Staging Area Technology KM Notes Oracle LKM Oracle to Oracle dblink Creates a view on the source server, and synonyms on this view on the target server. Oracle LKM Oracle to Oracle datapump Uses external tables in the datapump format. Source or Staging Area Technology KM Notes Oracle LKM Oracle to Oracle dblink Views created on the source server, synonyms on the target SAP BW LKM SAP BW to Oracle SQLLDR Uses Oracles bulk loader. File cannot be Staging Area. SAP ERP LKM SAP ERP to Oracle SQLLDR Uses Oracles bulk loader. File cannot be Staging Area. Files LKM File to Oracle EXTERNAL TABLE Loads file data using external tables. Files LKM File to Oracle SQLLDR Uses Oracle’s bulk loader. File cannot be Staging Area. Oracle LKM Oracle to Oracle datapump Uses external tables in the datapump format. Oracle BI LKM Oracle BI to Oracle DBLINK Creates synonyms for the target staging table and uses the OBIEE populate command. MSSQL LKM MSSQL to Oracle BCPSQLLDR Unloads data from SQL Server using BCP, loads data into Oracle using SQLLoader. All LKM SQL to Oracle Faster than the Generic LKM Uses Statistics