>>-cdr remaster--+-------------------------+--------------------> | (1) | '-| Connect Option |------' >-- --master=server--replicate--+----------+------------------->< '-modifier-'
Element | Purpose | Restrictions | Syntax |
---|---|---|---|
modifier | Specifies the rows and columns to replicate | Participant Modifier | |
replicate | Name of the replicate to be mastered | The replicate must exist. | Long Identifiers |
server | Name of the database server from which to base the master replicate definition | The name must be the database server group name. | Long Identifiers |
The following table describes the option to cdr remaster.
Long Form | Short Form | Meaning |
---|---|---|
--master= | -M | Specifies that the replicate being created is a master replicate. |
Use the cdr remaster command to perform one of the following tasks:
An example of a shadow replicate name is:
Shadow_4_Repl1_GMT1090373046_GID10_PID28836
To use the cdr remaster command, the master replicate definition must have been created with name verification turned on (--name option of the cdr define replicate command set to y).
As part of its processing, the cdr remaster command creates a shadow replicate. The shadow replicate is named as follows:
Shadow_4_basereplicatename_GMTtime_GIDlocalCDRID_PIDpid
The following example shows the original definition of the master replicate before the alter operation:
cdr define repl --master=delhi -C timestamp\ newrepl "test@delhi.tab" "select col1, col2 from tab"\
This example shows the cdr remaster command adding a new column, col3, in the newrepl participant:
cdr remaster --master=delhi newrepl\ "select col1, col2, col3 from tab"