The GoldenGate bulk load to the SQL loader method consists of an initial load Extract process which communicates with an initial load Replicat process. This process is started automatically by the destination Manager process. The Replicat process then coordinates with the SQL loader API and uses it to load the data into the target database. In this recipe, we will look into the detailed steps of how to use this method to perform an instantiation of the source database.
For this recipe we will use the following setup:
Create a modified version of the
EMPtable that is delivered in the
SCOTTdemo schema with Oracle binaries in the source and target databases. You can use the following DDL statement to create the
CREATE TABLE EMP ( EMPNO NUMBER(10) PRIMARY KEY, ENAME VARCHAR2(25), JOB VARCHAR2(25), MGR NUMBER(10), HIREDATE DATE, SAL NUMBER(20,2), COMM NUMBER(20,2), DEPTNO NUMBER(10), CITY VARCHAR2(25));
Use the following...