Adding or Deleting Participants

To be useful, a replicate must include at least two participants. You can define a replicate that has fewer than two participants, but before you can use that replicate, you must add more participants.

To add a participant to an existing replicate, use the cdr change replicate --add command. For example, to add two participants to the sales_data replicate, enter:
cdr change replicate --add sales_data \
   "db1@hawaii:jane.table1" "select * from table1" \
   "db2@maui:john.table2" "select * from table2"

To delete a participant from the replicate, use the cdr change replicate --delete command.

For example, to delete these two participants from the replicate, enter:
cdr change replicate --delete sales_data \
   "db1@hawaii:jane.table1" "db2@maui:john.table2"

For more information, see cdr change replicate.


Copyright© 2018 HCL Technologies Limited