ENABLE DATABASE
The ENABLE DATABASE command enables broker management of the specified standby database.
Caution:
Do not issue the ENABLE DATABASE command on a standby database that needs to be reinstated. See Reenabling Disabled Databases After a Role Change for more details.
Format
ENABLE DATABASE <db_unique_name>;
Command Parameters
Usage Notes
-
You must connect to the primary database or to an already enabled standby database to issue this command.
-
A standby database may have been disabled by the broker as a consequence of a prior failover or switchover operation. See Reenabling Disabled Databases After a Role Change to understand how the database can be reinstated or re-created.
-
By default, broker management of the physical or logical standby database is enabled in the
APPLY-ONstate with log apply services enabled. You can change the state of the standby database using the EDIT DATABASE (State) command, but only when the database is enabled. -
Use the SHOW DATABASE command to display information about the database.
-
For an Oracle RAC database, only one instance is required to be started and mounted for this command to succeed.
Command Example
The following example shows how to enable a database named South_Sales.
DGMGRL> ENABLE DATABASE 'South_Sales'; Enabled.