Altering multiple tables in a replicate set
You can alter multiple replicated tables for replicates that belong to the same replicate set and then remaster those tables as a group.
About this task
Procedure
To alter replicated tables in a replicate set:
- Run the ALTER operation on the tables on all replication
servers.If the replicate set is included in a grid, you can alter the tables on one server and propagate the changes to all other servers.
- Create a derived replicate set by running the cdr define replicateset command with the --needRemaster option.
- Remaster the tables in the derived replicate set by running
the cdr remaster replicateset command.The replicate definitions are updated in the global catalogs of the replication servers.
- Synchronize the derived replicate set by running the cdr check replicateset with the --repair option or by running the cdr sync replicateset command.
- Drop the derived replicate set by running the cdr delete replicateset command.