Configuring the Data Pump
These steps configure the data pump that reads the local trail and sends the data across the network to a remote trail.
- In GGSCI on the source system, create the data-pump parameter file.
EDIT PARAMSnameWhere:
nameis the name of the data pump Extract group. - Enter the data-pump parameters in the order shown, starting a new line for each
parameter statement. Your input variables will be different. See the following
table for description.
Basic parameters for the data-pump Extract group:
EXTRACT extpump SOURCEDB FINANCE USERID ogg, PASSWORD AACAAAAAAAAAAA, BLOWFISH ENCRYPTKEY mykey RMTHOST fin1, MGRPORT 7809 RMTTRAIL /ggs/dirdat/rt TABLE hr.*;Parameter Description EXTRACTgroupgroup nameis the name of the data pump.SOURCEDB database USERID user, PASSWORD password, BLOWFISH ENCRYPTKEY keynameSpecifies database connection information.
-
SOURCEDBspecifies the default DB 2 for i database. -
USERIDspecifies the Extract database user profile. -
PASSWORDspecifies the user's password that was encrypted with theENCRYPT PASSWORDcommand. Enter or paste the encrypted password after thePASSWORDkeyword. -
BLOWFISH ENCRYPTKEYkeynamespecifies the name of the lookup key in the localENCKEYSfile.
DECRYPTTRAIL BLOWFISHDecrypts the input trail.
RMTHOST hostname, MGRPORT portnumber-
RMTHOSTspecifies the name or IP address of the target system. -
MGRPORTspecifies the port number where Manager is running on the target.
ENCRYPTTRAIL BLOWFISHEncrypts the remote trail with Blowfish encryption.
RMTTRAIL pathnameSpecifies the path name of the remote trail.
TABLE schema.object; TABLE library/file; TABLE library/file(member);Specifies a table or tables to process.
Terminate the
TABLEstatement with a semi-colon.To exclude tables from a wildcard specification, use the
TABLEEXCLUDEparameter after theTABLEstatement. -
- Enter any optional Extract parameters that are recommended elsewhere in this manual and any others shown in Summary of Extract Parameters in Reference for Oracle GoldenGate.
- Save and close the file.