Oracle Database / Data Guard & High Availability
Identify a blocking archived-log gap on a standby
A missing redo range can prevent managed recovery from advancing. Inspect the gap view before manually copying files.
Environment and inputs: Oracle Database 19c baseline · SQL*Plus-compatible SQL unless RMAN, DGMGRL, ADRCI or a host shell is specified. Check release, patch level, edition and container first.
Start with this diagnostic
Run each example in the tool named in the guide: SQL, RMAN, DGMGRL or the host command shell. Replace example names with approved values. To query DBA and V$ views, use authorized catalog access in the correct database container. Do not add broad permissions just to run an example.
SELECT thread#, low_sequence#, high_sequence# FROM v$archive_gap;
What the results mean
The view reports a current blocking gap in the recovery context. Resolving one gap can reveal another; an empty result is not proof of full synchronization.
Fix the cause and check again
Locate verified copies for the correct thread and incarnation through the supported gap-resolution process. Recheck recovery progress after each correction.
Before you make a change
Do not register logs from another database or assume sequence numbers alone uniquely identify the correct redo.