Re: Oldest Archive Log needed
Date: Fri, 28 Dec 2007 14:33:29 -0800 (PST)
On Dec 28, 5:09 pm, zipRobe..._at_gmail.com wrote:
> I have an oracle 10g database in archivelog mode. It runs for a few
> days generating archive log files and I do a hot backup, a few more
> days go by and I do another backup.
> Assuming the last two backups are good and I only need the last one
> how do I determine the oldest archive log to keep so I can delete the
> old ones not needed for the most recent backup.
this ought to be close:
there's a couple of assumptions:
- no resetlogs operation has occurred.
- the log history in the controlfile was set high enough that the entries for the archived redo logs of interest still exist
- tested on 10.2.0.3 standard edition on w2k3 svr, 32 bit.
Why don't you write out this info to file as part of the hot backup
(insert rman comments here about rewriting functionality).
-bdbafh Received on Fri Dec 28 2007 - 16:33:29 CST