Archivelog Mode Questions
Date: 1996/06/18
Message-ID: <4q5o2t$2ee_at_sjx-ixn5.ix.netcom.com>#1/1
I am attempting to minimize my exposure to possible data loss, and want to enable Archivelog mode. I've followed Oracle's instructions on how to backup/restore a database, but I am encountering a problem that has me baflled. Here's the situation:
I'll shutdown my database, and backup the necessary control files, redo logs, and data files as Oracle describes. I'll then startup the database, and as I run a set of sample transactions, I can see that a number of archive logs are being written. So far, so good.
After 15 or 20 log files have been written, I will then shutdown the database, and attempt to restore my baseline backup and successively apply the archive logs, just as I would do if I had really had a disk crash. Everything works fine, but when I try to apply the archive logs, Oracle will always want one more archive log file than I have.
Obviously I can understand that I will lose whatever's in an unusable file, but is there some way to determine which transactions have been stored within an archive file? Oracle mentions that one of the recovery options is to restore up to a certain System Change Number, but I cannot find a way to determine exactly what SQL statement corresponds to a particular System Change Number. Does anyone know? -- Bill, aka bjonnard_at_ix.netcom.com Received on Tue Jun 18 1996 - 00:00:00 CEST