This SQL document contains 3 queries to retrieve log sequence numbers from the gv$archived_log view. The first query gets the highest sequence number and instance ID grouped by instance. The second query gets the highest sequence number and thread number grouped by thread. The third query filters the view to only logs that have been applied and returns the highest sequence number grouped by thread.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
43 views1 page
Archive Apply Check DR
This SQL document contains 3 queries to retrieve log sequence numbers from the gv$archived_log view. The first query gets the highest sequence number and instance ID grouped by instance. The second query gets the highest sequence number and thread number grouped by thread. The third query filters the view to only logs that have been applied and returns the highest sequence number grouped by thread.