Source Systems
Configure the Manager process and primary Extract groups for the source systems.
To Configure the Manager Process
-
On each source, configure the Manager process.
-
In each Manager parameter file, use the
PURGEOLDEXTRACTS
parameter to control the purging of files from the trail on the local system.
To Configure the primary Extract Groups
-
On each source, use the
ADD EXTRACT
command to create a primary Extract group. For documentation purposes, these groups are called ext_1 and ext_2.Command on source_1:
ADD EXTRACT
ext_1
, {TRANLOG | INTEGRATED TRANLOG}, BEGINtime
[option
[, ...]]Command on source_2:
ADD EXTRACT
ext_2
, {TRANLOG | INTEGRATED TRANLOG}, BEGINtime
[option
[, ...]]See Reference for Oracle GoldenGate for detailed information about these and other
ADD EXTRACT
options that may be required for your installation. -
On each source, use the
ADD EXTTRAIL
command to create a local trail.Command on source_1:
ADD EXTTRAIL
local_trail_1
, EXTRACText_1
Command on source_2:
ADD EXTTRAIL
local_trail_2
, EXTRACText_2
Use the
EXTRACT
argument to link each Extract group to the local trail on the same system. The primary Extract writes to this trail, and the data-pump reads it. -
On each source, use the
EDIT PARAMS
command to create a parameter file for the primary Extract. Include the following parameters plus any others that apply to your database environment. For possible additional required parameters, see the Oracle GoldenGate installation and setup guide for your database.Parameter file for ext_1:
-- Identify the Extract group: EXTRACT
ext_1
-- Specify database login information as needed for the database: [SOURCEDBdsn_1
][, USERIDALIASalias
] -- Log all scheduling columns if using integrated Replicat LOGALLSUPCOLS -- Specify the local trail that this Extract writes to -- and the encryption algorithm: ENCRYPTTRAILalgorithm
EXTTRAILlocal_trail_1
-- Specify tables and sequences to be captured: SEQUENCE [container
.|catalog
.]owner
.sequence; TABLE [container
.|catalog
.]owner
.table
;Parameter file for ext_2:
-- Identify the Extract group: EXTRACT
ext_2
-- Specify database login information as needed for the database: [SOURCEDBdsn_2
][, USERIDALIASalias
] -- Log all scheduling columns if using integrated Replicat or CDR LOGALLSUPCOLS -- Specify the local trail that this Extract writes to -- and the encryption algorithm: ENCRYPTTRAILalgorithm
EXTTRAILlocal_trail_2
-- Specify tables and sequences to be captured: SEQUENCE [container
.|catalog
.]owner
.sequence; TABLE [container
.|catalog
.]owner
.table
;
To Configure the Data Pumps