Finding Unapplied Archived log file in DR [message #523920] |
Wed, 21 September 2011 02:23  |
muktha_22
Messages: 527 Registered: December 2009
|
Senior Member |
|
|
Hello All,
Need a help.
I wanted to make a script for applying the Archived log File in to DR by certain interval.
1) I will use the below view for finding the SEQUENCE so far applied.
select sequence# from v$log_archive.
2) But how i can compare with the archive log files available in physical location with the above mentioned view.
eg:- the above view shows, the till the sequence 46789 is applied.
And in the DR physical Location available sequences are 46795. which means 6 more archived log files are more, which are not applied into the DR so far.
Regards:
Muktha
|
|
|
|
|
|
|
|
|
|