How to Verify Standby Database Sync with Primary Database in 19c
To check if your standby database is in sync with the primary database, follow these steps: 1. Compare Sequence Numbers : Look at the latest sequence number generated on the primary database and the latest sequence number applied on the standby database. 2. Check for Gaps : Ensure there are no missing sequence numbers on the standby database. The sequence numbers on both databases should match, and there should be no gaps in the sequence on the standby database. If they do match and there are no gaps, the databases are in sync. Verifying the Status of Primary and Standby Databases in Oracle On the Primary Server First, log in to the primary server and run the following SQL query to check the status: Copy Select name,open_mode,database_role from v$database; On the Standby Server Log in to the standby server and execute the same SQL query: Copy Select name,open_mode,database_role from v$datab...