Oracle Database / Data Guard & High Availability
Check Flashback Database readiness before planning standby reinstatement
A failover runbook may depend on flashback capability and retained flashback logs. Verify current state and available window before promising reinstatement.
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 flashback_on FROM v$database;
SELECT oldest_flashback_scn, oldest_flashback_time, retention_target FROM v$flashback_database_log;
What the results mean
Enabled flashback and an available window are necessary context, not proof that the exact reinstatement point is reachable or that all broker prerequisites are met.
Fix the cause and check again
Compare the required SCN and role-transition history with retained data. Follow the supported broker or recovery procedure and plan a rebuild if prerequisites are absent.
Before you make a change
Do not flash back a database or change roles from this checklist alone.