alter table Support for Warm Standby

Adaptive Server Enterprise version 12.0 and later allows users to alter existing tables—add non-nullable columns, drop columns, and modify column datatypes.

For Oracle warm standby applications, you need replication definitions to enable replication of user defined datatypes. Replication Agent for Oracle automatically creates replication definition at the time of initialization. In such a scenario, you need to manually create new replication definition or alter existing replication definition to explicitly specify in the replication definition which user defined datatype is being replicated to the standby database.

Replication Server supports table changes resulting from the alter table command when the table has no subscriptions.

Note: To support table changes that result from alter table when subscriptions exist for that table, you need to alter the table’s replication definition. See Replication Server Administration Guide Volume 1 > Manage Replicated Tables > Modify Replication Definitions for instructions.

In previous releases, when a replication definition was defined for a table, Replication Server always used the column datatype defined in the warm standby replication definition. Beginning with Replication Server version 12.0, and depending on the situation, Replication Server may or may not use a table’s replication definition.