Data Guard 26ai – #21: Switchover and failover readiness

This post is part of a blog series.

Until now, checking whether a database was ready to switch over or fail over meant running the VALIDATE DATABASE command through DGMGRL: there was no direct SQL alternative, and the VALIDATE DATABASE command isn’t available with other broker interfaces.

In Data Guard 26ai, the V$DG_BROKER_CONFIG view now includes two new columns: SWITCHOVER_READY and FAILOVER_READY. These columns, updated every minute by the Data Guard Broker’s health check, provide the status for switchover and failover readiness.

This means you can now monitor configuration topology, member status, and role change readiness directly with a SQL query, streamlining observability and monitoring through any SQL*Net client, without relying on DGMGRL.

a select from v$dg_broker_config shows the new two columns

For now, if either column shows “NO”, you still need DGMGRL for detailed diagnostics.

The following two tabs change content below.

Ludovico

Principal Product Manager at Oracle
Ludovico is a member of the Oracle Database High Availability (HA), Scalability & Maximum Availability Architecture (MAA) Product Management team in Oracle. He focuses on Oracle Data Guard, Flashback technologies, and Cloud MAA.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.