cdr modify replicate
The cdr modify replicate command modifies replicate attributes.
Syntax
Element | Purpose | Restrictions | Syntax |
---|---|---|---|
participant | Name of a participant in the replication. | The participant must be a member of the replicate. | Participant and participant modifier |
replicate | Name of the replicate to modify. | The replicate name must exist. | Long Identifiers |
The following table describes the option to cdr modify replicate.
Long Form | Short Form | Meaning |
---|---|---|
--name=n | -n n | Removes the name verification attribute from a master replicate. |
Special Options
Long Form | Short Form | Meaning |
---|---|---|
--alwaysRepLOBS= | Specifies whether columns that contain unchanged
large objects are included in replicated rows:
|
|
--ats y or --ats n | -A y or -A n | Activates (y) or deactivates (n) aborted-transaction spooling for replicate transactions that fail to be applied to the target database. |
--firetrigger y or --firetrigger n | -T y or -T n | Causes the rows that are inserted by the replicate to fire (y) or not fire (n) triggers at the destination. |
--fullrow y or --fullrow n | -f y or -f n | Specifies to (y) replicate the full row and enable upserts or (n) replicate only changed columns and disable upserts. |
--ignoredel= | -D | Specifies whether to retain deleted rows on
other nodes:
|
--ris y or --ris n | -R y or -R n | Activates (y) or deactivates (n) row-information spooling for replicate row data that fails conflict resolution or encounters replication-order problems. |
--serial | -s | Specifies that replicated transactions for the replicate are applied serially instead of in parallel. |
--UTF8= | Specifies
whether to enable conversion to and from UTF-8 (Unicode) when you
replicate data between servers that use different code sets.
|
Usage
The cdr modify replicate command modifies the attributes of a replicate or of one or more participants in the replicate. You can also change the mode of a participant. If the command does not specify participants, the changes apply to all participants in the replicate.
To add or delete a participant, use the cdr change replicate command.
If you change the conflict resolution rule with cdr modify replicate, you must also specify the scope with the --scope option, even if you are not changing the scope.
- You cannot change the machine-independent decimal representation (--floatcanon) or IEEE floating point (--floatieee) formats.
- You cannot change the conflict resolution from ignore to a non-ignore
option (time stamp, SPL routine, or time stamp and SPL routine). You
cannot change a non-ignore conflict resolution option to ignore.
However, you can change from time stamp resolution to SPL routine resolution or from SPL routine resolution to time stamp.
- The --ats, --ris, --firetrigger, and --fullrow options require a yes (y) or no (n) argument.
When you run the cdr modify replicate command, an event alarm with a class ID of 63 is generated, if that event alarm is enabled.
You can run this command from within an SQL statement by using the SQL administration API.
Examples
cdr modify repl --every=300 smile
cdr modify repl -a 01:00 smile
cdr modify repl -a L.5:00 -A y -T n smile
cdr mod repl smile "
R db1@server1:antonio.table1"
\
"
P db2@server2:carlo.table2"