V$DG_BROKER_ROLE_CHANGE
V$DG_BROKER_ROLE_CHANGE displays information about the last ten role changes across a Data Guard broker configuration.
| Column | Datatype | Description |
|---|---|---|
EVENT |
VARCHAR2(30) |
Type of role change:
|
STANDBY_TYPE |
VARCHAR2(30) |
Type of standby database:
|
OLD_PRIMARY |
VARCHAR2(30) |
Database unique name of the old primary database, that is, the primary database before the role change occurred |
NEW_PRIMARY |
VARCHAR2(30) |
Database unique name of the new primary database, that is, the primary database after the role change occurred |
FS_FAILOVER_REASON |
VARCHAR2(255) |
If the role change was a fast-start failover, then this column displays the reason for the fast-start failover. For example, the primary database became disconnected. Otherwise, the value of this column is null. |
BEGIN_TIME |
TIMESTAMP(9) |
Begin time of the role change
|
END_TIME |
TIMESTAMP(9) |
End time of the role change For both failover and switchover role changes, this column displays the time at which the |
CON_ID |
NUMBER |
The ID of the container to which the data pertains. Possible values include:
|
Note: This view is available starting with Oracle AI Database 26ai.