Creating the Replicat Group
To create an online Replicat group, run GGSCI on the target system and issue the ADD REPLICAT command. Separate all command arguments with a comma.
ADD REPLICATgroup, EXTTRAILpath[, {INTEGRATED | COORDINATED [MAXTHREADSnumber]}] [, BEGINstart_point| , EXTSEQNOseqno, EXTRBArba] [, CHECKPOINTTABLEowner.table] [, NODBCHECKPOINT] [, PARAMSpath] [, REPORTpath]
Where:
-
groupis the name of the Replicat group. A group name is required. See Naming Conventions for Processes for Oracle GoldenGate naming conventions. -
EXTTRAILpathis the relative or fully qualified name of the trail that you defined with theADD RMTTRAILcommand. -
INTEGRATEDspecified that this Replicat group will operate in integrated mode. This mode is available for Oracle databases.. -
COORDINATEDspecifies that this Replicat group will operate in coordinated mode.MAXTHREADSspecifies the maximum number of threads allowed for this group. Valid values are from 1 through 500.MAXTHREADSis optional. The default number of threads withoutMAXTHREADSis 25.Note:
Each Replicat thread is considered a Replicat group in the context of the
MAXGROUPSparameter.MAXGROUPScontrols the maximum number of process groups allowed in the Oracle GoldenGate instance.MAXTHREADSplus the number of other process groups in the Oracle GoldenGate instance must not exceed the value set withMAXGROUPS(default is 1000). -
BEGINstart_pointdefines an online Replicat group by establishing an initial checkpoint and start point for processing. Use one of the following:-
NOWto begin replicating changes timestamped at the point when theADD REPLICATcommand is executed to create the group. -
YYYY-MM-DDHH:MM[:SS[.CCCCCC]]as the format for specifying an exact timestamp as the begin point.
-
-
EXTSEQNOseqno, EXTRBArbaspecifies the sequence number of the file in a trail in which to begin reading data and the relative byte address within that file. By default, processing begins at the beginning of a trail unless this option is used. For the sequence number, specify the number, but not any zeroes used for padding. For example, if the trail file isc:\ggs\dirdat\aa000000026, specifyEXTSEQNO 26. Contact Oracle Support before using this option. -
CHECKPOINTTABLEowner.tablespecifies the owner and name of a checkpoint table other than the default specified in theGLOBALSfile. To use this argument, you must add the checkpoint table to the database with theADDCHECKPOINTTABLEcommand (see About Checkpoint Table ). -
NODBCHECKPOINTspecifies that this Replicat group will not use a checkpoint table. -
PARAMSpathis required if the parameter file for this group will be stored in a location other than thedirprmsub-directory of the Oracle GoldenGate directory. Specify the fully qualified name. The default location is recommended. -
REPORTpathis required if the process report for this group will be stored in a location other than thedirrptsub-directory of the Oracle GoldenGate directory. Specify the fully qualified name. The default location is recommended.
Example 9-1 Creating an Online Replicat Group
This example creates an online Replicat group named finance and specifies a trail of c:\ggs\dirdat\rt. The parameter file is stored in the alternate location of \ggs\params, and the report file is stored in its default location.
ADD REPLICAT finance, EXTTRAIL c:\ggs\dirdat\rt, PARAMS \ggs\params