0% 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.

Uploaded by

Mahi Pal
Copyright
© © All Rights Reserved
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% 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.

Uploaded by

Mahi Pal
Copyright
© © All Rights Reserved
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
You are on page 1/ 1

select max(SEQUENCE#),INST_ID from gv$archived_log group by INST_ID;

select max(sequence#),thread# from gv$archived_log group by thread#;

select max(sequence#),thread# from gv$archived_log where APPLIED='YES' group by


thread#;

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy