Configuring the Data Pump Extract
These steps configure the data pump that reads the local trail and sends the data across the network to a remote trail on the target. The data pump is optional, but recommended.
- In GGSCI on the source system, create the data-pump parameter file.EDIT PARAMSnameWhere nameis the name of the data-pump Extract.
- Enter the data-pump Extract parameters in the order shown, starting a
                              new line for each parameter statement. Your input variables will be
                              different. Basic parameters for the data-pump Extract group: EXTRACT extpump SOURCEDB mypump, USERIDALIAS myalias RMTHOST fin1, MGRPORT 7809 ENCRYPT AES192, KEYNAME securekey2 RMTTRAIL /ggs/dirdat/rt TABLE hr.*; Parameter Description EXTRACTgroupgroupis the name of the data pump Extract.SOURCEDB database, USERIDALIASaliasSpecifies the real name of the source DB2 LUW database (not an alias), plus the alias of the database login credential of the user that is assigned to Extract. This credential must exist in the Oracle GoldenGate credential store. RMTHOST hostname, MGRPORTportnumber, [, ENCRYPTalgorithmKEYNAMEkeyname]- 
                                             
                                             RMTHOSTspecifies the name or IP address of the target system.
- 
                                             
                                             MGRPORTspecifies the port number where Manager is running on the target.
- 
                                             
                                             ENCRYPTspecifies optional encryption of data across TCP/IP.
 RMTTRAILpathnameSpecifies the path name of the remote trail. TABLEschema.object;Specifies a table or sequence, or multiple objects specified with a wildcard. In most cases, this listing will be the same as that in the primary Extract parameter file. - 
                                             
                                             TABLEis a required keyword.
- 
                                             
                                             schemais the schema name or a wildcarded set of schemas.
- 
                                             
                                             objectis the name of a table or a wildcarded set of tables.
 Only the asterisk (*) wildcard is supported for DB2 LUW. The question mark (?) wildcard is not supported for this database. Terminate the parameter statement with a semi-colon. To exclude tables from a wildcard specification, use the TABLEEXCLUDEparameter.For more information and for additional TABLEoptions that control data filtering, mapping, and manipulation, seeTABLE | MAPin Reference for Oracle GoldenGate.
- 
                                             
                                             
- Enter any optional Extract parameters that are recommended for your configuration. You can edit this file at any point before starting processing by using the EDIT PARAMScommand in GGSCI.
- Save and close the file.