536
Oracle ® GoldenGate Windows and UNIX Reference Guide 11g Release 1 (11.1.1) E17791-01 August 2010

ogg_ebook oracle golden gate

Embed Size (px)

DESCRIPTION

Oracle golden gate

Citation preview

Oracle GoldenGateWindows and UNI X Reference Guide11g Release 1 (11.1.1)E17791-01August 2010Oracle GoldenGate Windows and UNIX Reference Guide 11g Release 1 (11.1.1)E17791-01Copyright 1995, 2010 Oracle and/or its affiliates. All rights reserved.This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.This software is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. If you use this software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications.Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.This software and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.1 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Contents. . . . . . . . . . . . . . . Preface About the Oracle GoldenGate Guides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11Typographic conventions used in this manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12Getting more help with Oracle GoldenGate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12Chapter 1 GGSCI Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14Manager commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15INFO MANAGER. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15SEND MANAGER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15START MANAGER. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16STATUS MANAGER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17STOP MANAGER. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17Extract commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17ADD EXTRACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17ALTER EXTRACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25CLEANUP EXTRACT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26DELETE EXTRACT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26INFO EXTRACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26KILL EXTRACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32LAG EXTRACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32SEND EXTRACT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33START EXTRACT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43STATS EXTRACT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44STATUS EXTRACT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46STOP EXTRACT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46Replicat commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46ADD REPLICAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47ALTER REPLICAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50CLEANUP REPLICAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50DELETE REPLICAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50INFO REPLICAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .51Contents2 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .KILL REPLICAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .54LAG REPLICAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55SEND REPLICAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55START REPLICAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58STATS REPLICAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63STATUS REPLICAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64STOP REPLICAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65ER commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65Trail commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66ADD EXTTRAIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66ADD RMTTRAIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67ALTER EXTTRAIL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68ALTER RMTTRAIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68DELETE EXTTRAIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69DELETE RMTTRAIL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69INFO EXTTRAIL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70INFO RMTTRAIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70Parameter commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71EDIT PARAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71SET EDITOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71VIEW PARAMS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72Database commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72DBLOGIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72ENCRYPT PASSWORD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73LIST TABLES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74Trandata commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74ADD TRANDATA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74DELETE TRANDATA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79INFO TRANDATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79Checkpoint table commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80ADD CHECKPOINTTABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80CLEANUP CHECKPOINTTABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81DELETE CHECKPOINTTABLE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82INFO CHECKPOINTTABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83Oracle trace table commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83ADD TRACETABLE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83DELETE TRACETABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84INFO TRACETABLE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85Contents3 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .DDL commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85DUMPDDL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85Miscellaneous commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87! command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .87ALLOWNESTED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88CREATE SUBDIRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88FC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .88HELP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90HISTORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90INFO ALL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90INFO MARKER. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91OBEY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92SHELL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93SHOW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93VERSIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94VIEW GGSEVT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94VIEW REPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94Chapter 2 Oracle GoldenGate Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96Using Oracle GoldenGate parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .96Parameter Categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99GLOBALS parameters summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99Manager parameters summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100Extract parameters summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102Replicat parameters summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108DEFGEN parameters summary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115Alphabetical Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115ALLOCFILES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116ALLOWDUPTARGETMAP | NOALLOWDUPTARGETMAP. . . . . . . . . . . . . . . . . . . . . . . . . . . . .116ASCIITOEBCDIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117ASSUMETARGETDEFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117AUTORESTART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118AUTOSTART. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119BATCHSQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120BEGIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123BLOBMEMORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124BOOTDELAYMINUTES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124BR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124BULKLOAD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131Contents4 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .CACHEMGR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .131CHECKMINUTES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137CHECKPARAMS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137CHECKPOINTSECS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138CHECKPOINTTABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138CHECKSEQUENCEVALUE | NOCHECKSEQUENCEVALUE. . . . . . . . . . . . . . . . . . . . . . . . . . . . .139CMDTRACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140COLMATCH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140COMMENT | --. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .141COMPRESSDELETES | NOCOMPRESSDELETES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142COMPRESSUPDATES | NOCOMPRESSUPDATES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142CUSEREXIT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .143DBOPTIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144DDL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .150DDLERROR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .155DDLOPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .160DDLSUBST. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168DDLTABLE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .173DECRYPTTRAIL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .173DEFERAPPLYINTERVAL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .174DEFSFILE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .174DISCARDFILE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .175DISCARDROLLOVER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .176DOWNCRITICAL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .177DOWNREPORT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .177DSOPTIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .178DYNAMICPORTLIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .179DYNAMICPORTREASSIGNDELAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .179DYNAMICRESOLUTION | NODYNAMICRESOLUTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .180DYNSQL | NODYNSQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .180ENCRYPTTRAIL | NOENCRYPTTRAIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .181END . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .181EOFDELAY | EOFDELAYCSECS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .182ETOLDFORMAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .183EXTFILE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .183EXTRACT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .185EXTTRAIL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .186FETCHOPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .188Contents5 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .FILTERDUPS | NOFILTERDUPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .189FLUSHSECS | FLUSHCSECS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .190FORMATASCII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .191FORMATSQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .194FORMATXML. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195FUNCTIONSTACKSIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195GENLOADFILES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .196GETAPPLOPS | IGNOREAPPLOPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .198GETDELETES | IGNOREDELETES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199GETENV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199GETINSERTS | IGNOREINSERTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .200GETREPLICATES | IGNOREREPLICATES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .200GETTRUNCATES | IGNORETRUNCATES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203GETUPDATEAFTERS | IGNOREUPDATEAFTERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .203GETUPDATEBEFORES | IGNOREUPDATEBEFORES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .204GETUPDATES | IGNOREUPDATES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .204GGSCHEMA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .204GROUPTRANSOPS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .205HANDLECOLLISIONS | NOHANDLECOLLISIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206HANDLETPKUPDATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .208INCLUDE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .208INSERTAPPEND | NOINSERTAPPEND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .209INSERTALLRECORDS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .210INSERTDELETES | NOINSERTDELETES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .210INSERTMISSINGUPDATES | NOINSERTMISSINGUPDATES . . . . . . . . . . . . . . . . . . . . . . . . . . .210INSERTUPDATES | NOINSERTUPDATES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211LAGCRITICAL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211LAGINFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .211LAGREPORT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .212LIST | NOLIST. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .212LOBMEMORY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .213MACRO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .215MACROCHAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .217MAP for Extract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .218MAP for Replicat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .219MAPEXCLUDE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .260MARKERTABLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .260MAXDISCARDRECS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .261Contents6 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .MAXFETCHSTATEMENTS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .261MAXSQLSTATEMENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .262MAXTRANSOPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .262MGRSERVNAME. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .263NOHEADERS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .264NUMFILES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .264OBEY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .264OUTPUTFILEUMASK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .265OVERRIDEDUPS | NOOVERRIDEDUPS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .265PASSTHRU | NOPASSTHRU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .266PASSTHRUMESSAGES | NOPASSTHRUMESSAGES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .267PORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .267PURGEDDLHISTORY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .267PURGEMARKERHISTORY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .269PURGEOLDEXTRACTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .270PURGEOLDTASKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .273RECOVERYOPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .274REPERROR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .276REPFETCHEDCOLOPTIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .278REPLACEBADCHAR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .280REPLACEBADNUM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .281REPLICAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .282REPORT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .282REPORTCOUNT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .283REPORTROLLOVER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .284RESTARTCOLLISIONS | NORESTARTCOLLISIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .285RETRYDELAY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .286RMTFILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .286RMTHOST. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .288RMTHOSTOPTIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .292RMTTASK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .294RMTTRAIL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .295ROLLOVER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .297SEQUENCE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .298SETENV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .303SHOWSYNTAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .305SOURCEDB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .306SOURCEDEFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .306Contents7 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .SOURCEISTABLE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .307SPACESTONULL | NOSPACESTONULL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .308SPECIALRUN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .308SQLDUPERR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .310SQLEXEC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .310STARTUPVALIDATIONDELAY[CSECS]. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .313STATOPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .313SYSLOG. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .314TABLE forDEFGEN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .315TABLE for Extract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .316TABLE for Replicat. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .355TABLEEXCLUDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .356TARGETDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .356TARGETDEFS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .357TCPSOURCETIMER | NOTCPSOURCETIMER. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .358THREADOPTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .358TRACE/TRACE2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .360TRACETABLE | NOTRACETABLE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .360TRANLOGOPTIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .361TRANSACTIONTIMEOUT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .375TRANSMEMORY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .376TRIMSPACES | NOTRIMSPACES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .379UNLOCKEDTRAILFILES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .380UPDATEDELETES | NOUPDATEDELETES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .380UPREPORT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .380USEDATEPREFIX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .381USERID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .381USETIMEPREFIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .385USETIMESTAMPPREFIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .385VAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .385VARWIDTHNCHAR | NOVARWIDTHNCHAR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .387WARNLONGTRANS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .387WARNRATE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .388WILDCARDRESOLVE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .389Chapter 3 Collector Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .390Chapter 4 Column Conversion Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .394Using Unicode and native encoding in a column conversion function. . . . . . . . . . . . . .394Contents8 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Summary of column-conversion functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .395BINARY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .398BINTOHEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .398CASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .398COLSTAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .399COLTEST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .399COMPUTE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .400DATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .401DATEDIFF. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .404DATENOW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .405EVAL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .405GETENV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .406GETVAL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .418HEXTOBIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .420HIGHVAL | LOWVAL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .420IF. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .421NUMBIN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .421NUMSTR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .422RANGE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .422STRCAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .424STRCMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .424STREQ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .425STREXT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .425STRFIND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .426STRLEN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .427STRLTRIM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .427STRNCAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .427STRNCMP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .428STRNUM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .428STRRTRIM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .430STRSUB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .430STRTRIM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .431STRUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .431TOKEN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .431VALONEOF. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .432Chapter 5 User Exit Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .433Calling a user exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .433About the installed user exit files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .433Contents9 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Function summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .434Using EXIT_CALL_TYPE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .434Using EXIT_CALL_RESULT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .436Using EXIT_PARAMS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .436Using ERCALLBACK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .437Function Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .439COMPRESS_RECORD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .442DECOMPRESS_RECORD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .443FETCH_CURRENT_RECORD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .445FETCH_CURRENT_RECORD_WITH_LOCK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .446GET_BEFORE_AFTER_IND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .447GET_COL_METADATA_FROM_INDEX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .448GET_COL_METADATA_FROM_NAME. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .451GET_COLUMN_INDEX_FROM_NAME. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .453GET_COLUMN_NAME_FROM_INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .454GET_COLUMN_VALUE_FROM_INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .455GET_COLUMN_VALUE_FROM_NAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .458GET_DDL_RECORD_PROPERTIES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .461GET_ENV_VALUE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .463GET_ERROR_INFO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .465GET_GMT_TIMESTAMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .466GET_MARKER_INFO. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .466GET_OPERATION_TYPE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .468GET_POSITION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .469GET_RECORD_BUFFER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .470GET_RECORD_LENGTH. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .473GET_RECORD_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .474GET_STATISTICS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .475GET_TABLE_COLUMN_COUNT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .477GET_TABLE_METADATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .478GET_TABLE_NAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .479GET_TIMESTAMP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .481GET_TRANSACTION_IND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .482GET_USER_TOKEN_VALUE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .483OUTPUT_MESSAGE_TO_REPORT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .483RESET_USEREXIT_STATS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .484SET_COLUMN_VALUE_BY_INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .484SET_COLUMN_VALUE_BY_NAME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .486Contents10 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .SET_OPERATION_TYPE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .488SET_RECORD_BUFFER. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .489SET_TABLE_NAME. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .490Appendix 1 About the Oracle GoldenGate commit sequence number . . . . . . . . . . . . . . . . . . . . . . . . .492Glossary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .495Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .50811 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .PREFACEAbout the Oracle GoldenGate Guides. . . . . . . . . . . . . . . The complete Oracle GoldenGate documentation set contains the following components:HP NonStop platforms Oracle GoldenGate HP NonStop Administrators Guide: Explains how to plan for, configure, and implement the Oracle GoldenGate replication solution on the NonStop platform. Oracle GoldenGate HP NonStop Reference Guide: Contains detailed information about Oracle GoldenGate parameters, commands, and functions for the NonStop platform.Windows, UNIX, Linux platforms Installation and Setup guides: There is one such guide for each database that is supported by Oracle GoldenGate. It contains system requirements, pre-installation and post-installation procedures, installation instructions, and other system-specific information for installing the Oracle GoldenGate replication solution. Oracle GoldenGate Windows and UNIX Administrators Guide: Explains how to plan for, configure, and implement the Oracle GoldenGate replication solution on the Windows and UNIX platforms. Oracle GoldenGate Windows and UNIX Reference Guide: Contains detailed information about Oracle GoldenGate parameters, commands, and functions for the Windows and UNIX platforms. Oracle GoldenGate Windows and UNIX Troubleshooting and Tuning Guide: Contains suggestions for improving the performance of the Oracle GoldenGate replication solution and provides solutions to common problems.Other Oracle GoldenGate products Oracle GoldenGate Director Administrators Guide: Expains how to install, run, and administer Oracle GoldenGate Director for configuring, managing, monitoring, and reporting on the Oracle GoldenGate replication components. Oracle GoldenGate Veridata Administrators Guide: Explains how to install, run, and administer the Oracle GoldenGate Veridata data comparison solution. Oracle GoldenGate for Java Administrators Guide: Explains how to install, configure, and run Oracle GoldenGate for Java to capture JMS messages to Oracle GoldenGate trails or deliver captured data to messaging systems or custom APIs. Oracle GoldenGate for Flat File Administrators Guide: Explains how to install, configure, and run Oracle GoldenGate for Flat File to format data captured by Oracle GoldenGate as batch input to ETL, proprietary or legacy applications.About the Oracle GoldenGate GuidesTypographic conventions used in this manual12 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Typographic conventions used in this manualThis manual uses the following style conventions. Parameter and command arguments are shown in upper case, for example:CHECKPARAMS File names, table names, and other names are shown in lower case unless they are case-sensitive to the operating system or software application they are associated with, for example:account _t abGLOBALS Variables are shown within < >characters, for example:

When one of multiple mutually-exclusive arguments must be selected, the selection is enclosed within braces and separated with pipe characters, for example:VI EWPARAMS{MGR| | } Optional arguments are enclosed within brackets, for example:CLEANUPEXTRACT [ , SAVE] When there are numerous multiple optional arguments, a placeholder such as [ ]may be used, and the options are listed and described separately, for example:TRANLOGOPTI ONS[ ] When an argument is accepted more than once, an ellipsis character (...) is used, for example:PARAMS( [ ] [ , ] [ , . . . ] ) The ampersand (&) is used as a continuation character in Oracle GoldenGate parameter files. It is required to be placed at the end of each line of a parameter statement that spans multiple lines. Most examples in this documentation show the ampersand in its proper place; however, some examples of multi-line statements may omit it to allow for space constraints of the publication format.Getting more help with Oracle GoldenGateIn addition to the Oracle GoldenGate documentation, you can get help for Oracle GoldenGate in the following ways.Getting help with the Oracle GoldenGate interfaceBoth GGSCI and the Oracle GoldenGate Director applications provide online help.About the Oracle GoldenGate GuidesGetting more help with Oracle GoldenGate13 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .GGSCI commandsTo get help for an Oracle GoldenGate command, use the HELP command in GGSCI. To get a summary of command categories, issue the HELP command without options. To get help for a specific command, issue the HELP command with the command name as input.HELPExample:HELPADDEXTRACTThe help file displays the syntax and description of the command.Oracle GoldenGate Director To get help for either Oracle GoldenGate Director Client or Oracle GoldenGate Director Web, use the Help menu within the application.Getting help with questions and problemsFor troubleshooting assistance, see Oracle GoldenGate Windows and UNIX Troubleshooting and Tuning Guide. Additional information can be obtained from the Knowledge Base on http://support.oracle.com. If you cannot find an answer, you can open a service request from the support site.14 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .CHAPTER 1GGSCI Commands. . . . . . . . . . . . . . . The Oracle GoldenGate Software Command Interface (GGSCI) is the command interface between users and Oracle GoldenGate functional components.Command SummaryCommand Group PurposeManager commands Start and manage the Manager process.Extract commands Create and manage Extract groups.Replicat commands Create and manage Replicat groups.ER commands Control multiple Extract and Replicat groups as a unit.Trail commands Link trails to an Extract group and provide file-management parameters.Parameter commands Run an editor to define or alter parameters.Database commands Issue database-related commands.Trandata commands Configure the database to log additional information that is needed for Oracle GoldenGate to replicate UPDATE operations.Checkpoint table commands Create and manage the Oracle GoldenGate checkpoint table.Oracle trace table commands Create and manage a trace table to prevent data looping in a bidirectional configuration.DDL commands Relate to DDL synchronization.Miscellaneous commands Control miscellaneous functions.GGSCI CommandsINFO MANAGER15 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Manager commandsUse Manager commands to control the Manager process. Manager is the parent process of Oracle GoldenGate and is responsible for the management of its processes and files, resources, user interface, and the reporting of thresholds and errors.Command summaryINFO MANAGERUse INFO MANAGER to determine whether or not the Manager process is running. If Manager is running, the port number is displayed. This command is an alias for STATUS MANAGER.Syntax I NFOMANAGERSEND MANAGERUse SEND MANAGER to retrieve the status of the active Manager process or to retrieve dynamic port information as configured in the Manager parameter file.Syntax SENDMANAGER [ CHI LDSTATUS[ DEBUG] ][ GETPORTI NFO[ DETAI L][ GETPURGEOLDEXTRACTS]INFO MANAGERSEND MANAGERSTART MANAGERSTATUS MANAGERSTOP MANAGERArgument DescriptionCHI LDSTATUS[ DEBUG] Retrieves status information about processes started by Manager. DEBUG returns the port numbers that have been allocated by Manager. (Requires ports to be specified with the DYNAMICPORTLIST parameter.)GETPORTI NFO[ DETAI L] By default, retrieves the current list of ports that have been allocated by Manager and their corresponding process IDs. (Requires ports to be specified with the DYNAMICPORTLIST parameter.)DETAIL provides additional details, including all ports listed with DYNAMICPORTLIST and which ones are assigned to a process.GGSCI CommandsSTART MANAGER16 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Example 1 SEND MANAGER CHILDSTATUS DEBUGreturns a child process status similar to the following. The basic CHILDSTATUS option returns the same display, without the Port column.Example 2 SEND MANAGER GETPORTINFO DETAILreturns a dynamic port list similar to the following. Example 3 SEND MANAGER GETPURGEOLDEXTRACTS outputs something similar to the following.Pur geOl dExt r act sRul esFi l eset Mi nHour sMaxHour sMi nFi l esMaxFi l esUseCPS: \ GGS\ DI RDAT\ EXTTRAI L\ P4\ *0010YS: \ GGS\ DI RDAT\ EXTTRAI L\ P2\ *0010YS: \ GGS\ DI RDAT\ EXTTRAI L\ P1\ *0010YS: \ GGS\ DI RDAT\ REPTRAI L\ P4\ *0010YS: \ GGS\ DI RDAT\ REPTRAI L\ P2\ *0010YS: \ GGS\ DI RDAT\ REPTRAI L\ P1\ *0010YOKExt r act Tr ai l sFi l enameOl dest _Chkpt _SeqnoI sTabl eI sVamTwoPhaseCommi tS: \ GGS\ 8020\ DI RDAT\ RT300S: \ GGS\ 8020\ DI RDAT\ REPTRAI L\ P1\ RT1300S: \ GGS\ 8020\ DI RDAT\ REPTRAI L\ P2\ RT1300S: \ GGS\ 8020\ DI RDAT\ REPTRAI L\ P4\ RT1300S: \ GGS\ 8020\ GGSLOG73527510S: \ GGS\ 8020\ DI RDAT\ EXTTRAI L\ P1\ ET1400S: \ GGS\ 8020\ DI RDAT\ EXTTRAI L\ P2\ ET1400S: \ GGS\ 8020\ DI RDAT\ EXTTRAI L\ P4\ ET1400START MANAGERUse START MANAGER to start the Manager process. This applies to a non-clustered environment. In a Windows cluster, you should stop Manager from the Cluster Administrator.Syntax STARTMANAGERGETPURGEOLDEXTRACTS Displays information about trail maintenance rules that are set with the PURGEOLDEXTRACTS parameter in the Manager parameter file. For more information about PURGEOLDEXTRACTS, see page 270.I D Gr oup Pr ocess Ret r y Ret r yTi me St ar t Ti me Por t1 ORAEXT 2400 0 None 2006/ 01/ 2321: 08: 32 78402 ORAEXT2 2450 0 None 2006/ 01/ 2321: 08: 33 7842Ent r y Por t Er r or Pr ocess Assi gned Pr ogr am0128000800180020002387 2006- 01- 01 10: 30: 23Argument DescriptionGGSCI CommandsSTATUS MANAGER17 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .STATUS MANAGERUse STATUS MANAGER to determine whether or not the Manager process is running. If Manager is running, the port number is displayed.Syntax STATUSMANAGERSTOP MANAGERUse STOP MANAGER to stop the Manager process. This applies to non-clustered environments. In a Windows cluster, Manager must be stopped through the Cluster Administrator.Syntax STOPMANAGER[ ! ]Extract commandsUse Extract commands to create and manage Extract groups. The Extract process captures either full data records or transactional data changes, depending on configuration parameters, and then sends the data to a target system to be applied to target tables or processed further by another process, such as a load utility.Command SummaryADD EXTRACTUse ADD EXTRACT to create an Extract group. Unless a SOURCEISTABLE task or an alias Extract is specified, ADD EXTRACT creates checkpoints so that processing continuity is maintained from run to run. Review the Oracle GoldenGate Windows and UNIX Administrators Guide before creating an Extract group.The Oracle GoldenGate GGSCI command interface fully supports up to 300 concurrent Extract and Replicat groups per instance of Oracle GoldenGate Manager. At the supported level, all groups can be controlled and viewed in full with GGSCI commands such as the INFO and STATUS commands. Beyond the supported level, group information is not displayed Argument Description! (Exclamation point) Bypasses the prompt that confirms the intent to shut down Manager.ADD EXTRACTALTER EXTRACTCLEANUP EXTRACTDELETE EXTRACTINFO EXTRACTKILL EXTRACTLAG EXTRACTSEND EXTRACTSTART EXTRACTSTATS EXTRACTSTATUS EXTRACTSTOP EXTRACTGGSCI CommandsADD EXTRACT18 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .and errors can occur. Oracle GoldenGate recommends keeping the number of Extract and Replicat groups (combined) at 300 or below in order to manage your environment effectively.Syntax For a regular, passive, or data pump ExtractADDEXTRACT{, SOURCEI STABLE|, TRANLOG[ ] |, VAM |, EXTFI LESOURCE |, EXTTRAI LSOURCE |, VAMTRAI LSOURCE}{, BEGI N{NOW| yyyy- mm- dd[ hh: mi : [ ss[ . cccccc] ] ] }|, EXTSEQNO, EXTRBA |, LOGNUM , LOGPOS |, EOF|, LSN |, EXTRBA |, EOF| LSN |, PAGE, ROW |}[ , THREADS][ , PASSI VE][ , PARAMS][ , REPORT][ , DESC]Syntax For an alias ExtractADDEXTRACT, RMTHOST{ | }, {MGRPORT}| {PORT | } On HP UX, Linux, and Solaris, it is possible to create a file name with a colon (:) or an asterisk (*), although it is not recommended. Group names are not case-sensitive. Use only one word. Do not use the word port as a group name. However, you can use the string port as part of the group name. Do not place a numeric value at the end of a group name, such as fin1, fin10, and so forth. You can place a numeric value at the beginning of a group name, such as 1_fin, 1fin, and so forth.SPECI ALRUN Creates a Replicat special run as a task. Either SPECIALRUN, EXTFILE,orEXTTRAILis required.When Extract is in SPECIALRUN mode, do not start it with the START REPLICAT command in GGSCI. For more information on when to use special runs, see the Oracle GoldenGate Windows and UNIX Administrators Guide.ADD REPLICAT data source optionsEXTFI LE Specifies the fully qualified name of an extract file that is specified with RMTFILE in the Extract parameter file.EXTTRAI L Specifies the fully qualified name of a trail that was created with the ADD RMTTRAIL or ADD EXTTRAIL command.ADD REPLICAT service optionsBEGI N Defines an initial checkpoint in the trail. To begin replicating changes from when the group is created with ADD REPLICAT, use the NOW argument. To begin extracting changes from a specific time, use the date-time format of YYYY-MM-DD HH:MM[:SS[.CCCCCC]]. Argument DescriptionGGSCI CommandsADD REPLICAT49 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Example ADDREPLI CATsal es, EXTTRAI Ld: \ ggs\ di r dat \ r tEXTSEQNO Specifies the sequence number of the file in a trail in which to begin processing data. Specify the sequence number, but not any zeroes used for padding. For example, if the trail file is c:\ggs\dirdat\aa000026, you would specify EXTSEQNO 26. By default, processing begins at the beginning of a trail unless this option is used. To use EXTSEQNO, you must also use EXTRBA. Contact Oracle Support before using this option. For more information, go to http://support.oracle.com.EXTRBA Specifies the relative byte address within the trail file that is specified by EXTSEQNO. Contact Oracle Support before using this option. For more information, go to http://support.oracle.com.CHECKPOI NTTABLE Specifies that this Replicat group will write checkpoints to the specified table in the database. Include the owner and table name, as in hr.hr_checkpoint. This argument overrides any default CHECKPOINTTABLE specification in the GLOBALS file. The table must be added with the ADD CHECKPOINTTABLE command.NODBCHECKPOI NT Specifies that this Replicat group will not write checkpoints to a checkpoint table. This argument overrides any default CHECKPOINTTABLE specification in the GLOBALS file. This argument is required if you do not want to use a checkpoint table with the Replicat group that is being created.PARAMS Specifies a parameter file in a location other than the default of dirprm within the Oracle GoldenGate directory. Use the fully qualified name.REPORT Specifies a process report file in a location other than the default of dirrpt within the Oracle GoldenGate directory. Use the fully qualified name.DESCSpecifies a description of the group, such as Loads account_tab on Serv2. The description must be within quotes. You can use either the abbreviated keyword DESC or the full word DESCRIPTION.Argument DescriptionGGSCI CommandsALTER REPLICAT50 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ALTER REPLICATUse ALTER REPLICAT to change the attributes of a Replicat group that was created with the ADD REPLICAT command. Before using this command, stop Replicat by issuing the STOP REPLICAT command.Syntax ALTERREPLI CAT , [ , . . . ]Example 1 ALTERREPLI CATf i nance, EXTSEQNO53Example 2 ALTERREPLI CATf i nance, EXTRBA0Example 3 ALTERREPLI CATf i nance, BEGI N2006- 06- 0708: 00: 00CLEANUP REPLICATUse CLEANUP REPLICATto delete run history for a specified Replicat group. The cleanup keeps the last run record intact so that Replicat can resume processing from where it left off.Before using this command, stop Replicat by issuing the STOP REPLICAT command.Syntax CLEANUPREPLI CAT [ , SAVE]Example 1 The following deletes all but the last record.CLEANUPREPLI CATf i nanceExample 2 The following deletes all but the most recent five records.CLEANUPREPLI CAT*, SAVE5DELETE REPLICATUse DELETE REPLICAT to delete a Replicat group. This command deletes the checkpoint file but leaves the parameter file intact. Then you can re-create the group or delete the parameter file as needed. This command frees up trail files for purging by Manager, because the checkpoints used by the deleted group are removed (assuming no other processes are reading the file).Argument Description The name of the Replicat group that is to be altered. An ADD REPLICAT option. You can change the description or any service option that was configured with the ADD REPLICAT command, except for the CHECKPOINT and NODBCHECKPOINT options.Argument Description The name of a Replicat group or a wildcard (*) to specify multiple groups. For example, T* cleans up all Replicat groups whose names begin with T.SAVE Excludes the specified number of the most recent records from the cleanup.GGSCI CommandsINFO REPLICAT51 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Before using DELETE REPLICAT, do the following:1. Stop Replicat.STOPREPLI CAT2. If this group uses a database checkpoint table, log into the database by using the DBLOGIN command, so that the checkpoints can be deleted from the table.Syntax DELETEREPLI CAT [ ! ]Example DELETEREPLI CATf i nanceINFO REPLICATUse INFO REPLICAT to retrieve the processing history of a Replicat group. The output of this command includes: The status of Replicat (STARTING, RUNNING, STOPPED or ABENDED). Approximate replication lag. The trail from which Replicat is reading. Replicat run history, including checkpoints in the trail. Information about the Replicat environment.The basic command, without the TASKS or ALLPROCESSES argument, displays information only for online (continuous) Replicat groups. Tasks are excluded.About lag valuesThe following explains the lag values shown by INFO REPLICAT.Byte lag is the difference, in bytes, between the read position of Replicat in the trail file at the time of the last checkpoint and the current end-of-file indicator. Time lag is the lag, in seconds, at the time the last checkpoint was written to the trail. For example, if the following is true... Current time = 15:00:00 Last checkpoint = 14:59:00 Timestamp of the last record processed =14:58:00...then the lag is reported as 00:01:00 (one minute, the difference between 14:58 and 14:59).Argument Description The name of a Replicat group or a wildcard (*) to specify multiple groups. For example, T* deletes all Replicat groups whose names begin with T.! Use this option to delete the groups checkpoints from the checkpoint file on disk, but not from the checkpoint table in the database. This option can be used to ignore the prompt that occurs when a wildcard specifies multiple groups.GGSCI CommandsINFO REPLICAT52 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A lag value of UNKNOWN indicates that Replicat could be running but has not yet processed records, or that the source systems clock is ahead of the target systems clock (due to clock imperfections, not time zone differences). For more precise lag information, use LAG REPLICAT (see page 55).Showing detailTo show detailed information, use the DETAIL option. The following is sample output.Figure 6 Detailed INFO REPLICAT outputShowing checkpointsReplicat makes checkpoints in the trail file to mark its last read position. To view process checkpoints, use the SHOWCH option. The basic command shows current checkpoints. To view a specific number of previous checkpoints, type the value after the SHOWCH entry.Figure 7 INFO REPLICAT, SHOWCHREPLI CATJ C108RPLast St ar t ed2006- 06- 1213: 10St at usRUNNI NGCheckpoi nt Lag00: 00: 00( updat ed111: 46: 54ago)LogReadCheckpoi nt Fi l e. / di r dat / eh000000Fi r st Recor dRBA3702915Cur r ent Checkpoi nt Det ai l :ReadCheckpoi nt #1GGSLogTr ai lSt ar t upCheckpoi nt ( st ar t i ngposi t i oni ndat asour ce) :Sequence#: 0RBA: 3702915Ti mest amp: Not Avai l abl eExt r act Tr ai l : . / di r dat / ehREPLI CATDELTPCCCheckpoi nt LagLogReadCheckpoi nt Fi l eLast St ar t ed2006- 01- 2111: 40St at usRUNNI NG00: 00: 00( updat ed232: 39: 41ago)C: \ GGS\ DI RDAT\ RT000000 2006- 01- 1118: 54: 33. 000000RBA4735245Ext r act Sour ce Begi n EndC: \ GGS\ DI RDAT\ RT000000C: \ GGS\ DI RDAT\ RT0000002006- 01- 1118: 54*I ni t i al i zed*2006- 01- 1118: 542006- 01- 1118: 54Cur r ent di r ect or yRepor t f i l ePar amet er f i l eCheckpoi nt f i l eCheckpoi nt t abl ePr ocessf i l eEr r or l ogC: \ GGSC: \ GGS\ di r r pt \ DELTPCC. r ptdi r pr m\ DELTPCC. pr mC: \ GGS\ di r chk\ DELTPCC. cprGG. CHECKPTC: \ GGS\ di r pcs\ DELTPCC. pcrC: \ GGS\ ggser r . l ogGGSCI CommandsINFO REPLICAT53 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Cur r ent Checkpoi nt ( posi t i onof l ast r ecor dr eadi nt hedat asour ce) :Sequence#: 0RBA: 3702915Ti mest amp: Not Avai l abl eExt r act Tr ai l : . / di r dat / ehHeader :Ver si on= 2Recor dSour ce= AType= 1# I nput Checkpoi nt s= 1# Out put Checkpoi nt s= 0Fi l eI nf or mat i on:Bl ockSi ze= 2048MaxBl ocks= 100Recor dLengt h= 2048Cur r ent Of f set = 0Conf i gur at i on:Dat aSour ce= 0Tr ansact i onI nt egr i t y= - 1TaskType= 0St at us:St ar t Ti me= 2006- 06- 1213: 10: 13Last Updat eTi me= 2006- 06- 0721: 23: 31St opSt at us= ALast Resul t = 400Table 2 About Replicat checkpointsCheckpoint DescriptionStartup CheckpointThe first checkpoint made in the trail when the process started. Comprising this statistic are:Sequence # The sequence number of the trail file where the checkpoint was written.RBA The relative byte address of the record at which the checkpoint was made.Timestamp The timestamp of the record at which the checkpoint was made.Extract Trail The relative path name of the trail.Current CheckpointThe position of the last record read by Replicat in the trail. This should match the Log Read Checkpoint statistic shown in the summary and in the basic INFO REPLICAT command without options. The fields for this statistic are the same as those of the Startup Checkpoint.GGSCI CommandsKILL REPLICAT54 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Syntax I NFOREPLI CAT[ , DETAI L][ , SHOWCH[ ] ][ , TASKS| ALLPROCESSES]Example 1 I NFOREPLI CAT*, DETAI L, ALLPROCESSESExample 2 I NFOREPLI CAT*, TASKSExample 3 I NFOREPLI CATf i nance, SHOWCHKILL REPLICATUse KILL REPLICAT to kill a Replicat process. Killing a process leaves the most recent checkpoint in place, and the current transaction is rolled back by the database, guaranteeing that no data is lost when the process is restarted. The Manager process will not attempt to restart a killed Replicat process. Use this command only if Replicat cannot be stopped gracefully with the STOP REPLICAT command.Syntax KI LLREPLI CATOther SHOWCH outputThe Header, File Information, Configuration, and Status statistics at the end of the SHOWCH display are for use by Oracle Support analysts. They contain internal information that is useful when resolving a support case.Argument Description The name of a Replicat group or a wildcard (*) to specify multiple groups. For example, T* shows all Replicat groups whose names begin with T.DETAI L Displays detail information.SHOWCH Displays current checkpoint details, including those recorded to the checkpoint file and those recorded to the checkpoint table, if one is being used. The database checkpoint display includes the table name, the hash key (unique identifier), and the create timestamp. Specify a value for to include the specified number of previous checkpoints as well as the current one.TASKS Displays only Replicat tasks. Tasks that were specified by a wildcard argument are not displayed by INFO REPLICAT.ALLPROCESSES Displays all Replicat groups, including tasks.Table 2 About Replicat checkpoints (continued)Checkpoint DescriptionGGSCI CommandsLAG REPLICAT55 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Example KI LLREPLI CATf i nanceLAG REPLICATUse LAG REPLICAT to determine a true lag time between Replicat and the trail. LAG REPLICAT estimates the lag time more precisely than INFO REPLICAT because it communicates with Replicat directly rather than reading a checkpoint position.About Replicat lagFor Replicat, lag is the difference, in seconds, between the time that the last record was processed by Replicat (based on the system clock) and the timestamp of the record in the trail.Syntax LAGREPLI CATExample 1 LAGREPLI CAT*Example 2 LAGREPLI CAT*f i n*SEND REPLICATUse SEND REPLICAT to communicate with a starting or running Replicat process. The request is processed as soon as Replicat is ready to accept commands from users.Syntax SENDREPLI CAT, {FORCESTOP|GETLAG|HANDLECOLLI SI ONS[ ] |NOHANDLECOLLI SI ONS[ ] |REPORT[ HANDLECOLLI SI ONS[ ] ] |STATUS|STOP|TRACE[ 2] [ DDLI NCLUDE| DDL[ ONLY] ] [ FI LE] |TRACE[ 2] OFF|TRACEI NI T}Argument Description The name of a Replicat group or a wildcard (*) to specify multiple groups. For example, T* kills all Replicat processes whose group names begin with T.Argument Description The name of a Replicat group or a wildcard (*) to specify multiple groups. For example, T* shows lag for all Replicat groups whose names begin with T.GGSCI CommandsSEND REPLICAT56 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Argument Description The name of the Replicat group. If Replicat is not running, an error is returned.FORCESTOP Forces Replicat to stop, bypassing any notifications. This command will roll back any active transaction and stop the process immediately.GETLAG Shows a true lag time between Replicat and the trail. Lag time is the difference, in seconds, between the time that the last record was processed by Replicat and the timestamp of the record in the trail. The results are the same as LAG REPLICAT.HANDLECOLLI SI ONS [ ]Turns on the HANDLECOLLISIONS parameter. Instead of using this option, you can specify the HANDLECOLLISIONS parameter in the Replicat parameter file. HANDLECOLLISIONS is used for automatic error handling when performing initial data loads while the source database is active. Make certain to disable HANDLECOLLISIONS (either with SEND REPLICAT or by removing the parameter from the parameter file) after the initial load is complete and online data changes have been applied to the target tables. For more information, see page 206. restricts HANDLECOLLISIONS to a specific target table or a group of target tables specified with a standard wildcard (*).NOHANDLECOLLI SI ONS [ ]Turns off the HANDLECOLLISIONS parameter but does not remove it from the parameter file. To avoid enabling HANDLECOLLISIONS the next time Replicat starts, remove it from the parameter file. restricts NOHANDLECOLLISIONS to a specific target table or a group of target tables specified with a standard wildcard (*).REPORT [ HANDLECOLLI SI ONS [ ] ]Generates an interim statistical report to the Extract report file. The statistics that are displayed depend upon the configuration of the STATOPTIONS parameter when used with the RESETREPORTSTATS | NORESETREPORTSTATS option. See page 368.HANDLECOLLISIONS shows tables for which HANDLECOLLISIONS has been enabled. restricts the output to a specific target table or a group of target tables specified with a standard wildcard (*).STATUS Returns the current location within the trail and information regarding the current transaction. Fields output are: Processing status Position in the trail file Trail sequence number RBA in trail Trail nameGGSCI CommandsSEND REPLICAT57 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Possible processing status messages are: Delaying waiting for more data Waiting on deferred apply delaying processing based on the DEFERAPPLYINTERVAL parameter. Processing data processing data Skipping current transaction START REPLICAT with SKIPTRANSACTION was used. Searching for START ATCSN START REPLICAT with ATCSN was used. Searching for START AFTERCSN START REPLICAT with AFTERCSN was used. Performing transaction timeout recovery Aborting current incomplete transaction and repositioning to start new one (see TRANSACTIONTIMEOUT parameter). Waiting for data at logical EOF after transaction timeout recovery Waiting to receive remainder of incomplete source transaction after a TRANSACTIONTIMEOUT termination. At EOF (end of file) no more records to processSTOP Stops Replicat gracefully.TRACE[ 2][ DDLI NCLUDE|DDL[ ONLY] ][ FI LE] Turns tracing on and off. Tracing captures information to the specified file to reveal processing bottlenecks. TRACE captures step-by-step processing information. TRACE2 identifies code segments rather than specific steps.If a trace is already in progress, the existing trace file is closed and the trace resumes to the file specified with .Contact Oracle Support for assistance if the trace reveals significant processing bottlenecks. For more information, go to http://support.oracle.com.Tracing also can be enabled by means of the Replicat parameters TRACE and TRACE2.DDLINCLUDE | DDLONLY(Replicat only) Enables DDL tracing and specifies how DDL tracing is included in the trace report. DDLINCLUDE includes DDL tracing in addition to regular tracing of transactional data processing. DDL[ONLY] excludes the tracing of transactional data processing and only traces DDL. This option can be abbreviated to DDL.Argument DescriptionGGSCI CommandsSTART REPLICAT58 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Example 1 SENDREPLI CATf i nance, HANDLECOLLI SI ONSExample 2 SENDREPLI CATf i nance, REPORTHANDLECOLLI SI ONSf i n_*Example 3 SENDREPLI CATf i nance, GETLAGSTART REPLICATUse START REPLICAT to start Replicat. To confirm that Replicat has started, use the INFO REPLICAT or STATUS REPLICAT command.About Replicat start optionsNormal start pointSTART REPLICAT, without any options, causes Replicat to start processing at one of the following points to maintain data integrity: After graceful or abnormal termination: At the last unprocessed transaction in the trail from the previous run, as represented by the current read checkpoint. First-time startup after the group was created: From the beginning of the active trail file (seqno 0, rba 0).Alternate start pointThe SKIPTRANSACTION, ATCSN, and AFTERCSN options of START REPLICAT cause Replicat to begin processing at a transaction in the trail other than the normal start point. Use them to: Specify a logical recovery position after an error that prevents Replicat from moving forward in the trail. Replicat can be positioned to skip the offending transaction or transactions, with the understanding that the data will not be applied to the target. Specify a start position at which to begin applying transactional changes that were replicated during an initial load procedure. Whenever a transaction changes data in a database, the database engine assigns a change identifier that represents the state of the data at that point in time. This type of identifier, generically known as the commit sequence number (CSN) in Oracle GoldenGate terminology, helps the database to keep [FILE] The fully qualified name of a file to which Oracle GoldenGate logs the trace information. The FILE keyword is optional, but must be used if other parameter options will follow the file name, for example:SENDREPLI CAT TRACEFI LE DDLI NCLUDEIf no other options will follow the file name, the FILE keyword can be omitted, for example:SENDREPLI CAT TRACEDDLI NCLUDETRACE[ 2] OFF Turns off tracing.TRACEI NI T Resets tracing statistics back to 0 and then starts accumulating statistics again. Use this option to track the current behavior of processing, as opposed to historical.Argument DescriptionGGSCI CommandsSTART REPLICAT59 Oracle GoldenGate Windows and UNIX Reference Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .track of changing data states throughout different transactions. If you know the CSN that corresponds to the completion of a backup, you can start Replicat to apply replicated transactions from that point forward. This allows Replicat to bypass any replicated changes that represent states that are older than the ones included in the backup. The purpose of skipping the older data changes is to avoid duplicate-record and missing-record errors.NOTE Skipping a transaction, or starting at or after a CSN, might cause Replicat to start more slowly than normal, depending on how much data in the trail must be read before arriving at the appropriate transaction record. To view the startup progress, use the SEND REPLICAT command with the STATUS option.Starting Replicat from the command lineReplicat also can be started from the operating systems command line for certain synchronization configurations. For more information on the proper configuration and startup method to use for you