Skip to content

/AWS1/CL_RDS=>SWITCHOVERREADREPLICA()

About SwitchoverReadReplica

Switches over an Oracle standby database in an Oracle Data Guard environment, making it the new primary database. Issue this command in the Region that hosts the current standby database.

Method Signature

IMPORTING

Required arguments:

IV_DBINSTANCEIDENTIFIER TYPE /AWS1/RDSSTRING /AWS1/RDSSTRING

The DB instance identifier of the current standby database. This value is stored as a lowercase string.

Constraints:

  • Must match the identiļ¬er of an existing Oracle read replica DB instance.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_RDSSWITCHOVERREADRP01 /AWS1/CL_RDSSWITCHOVERREADRP01