Pissallio,
These are very good questions.
First, if you encounter a situation in which you need to go back to your last full backup, restore the data files, and issue a "RECOVER DATABASE" command, then obviously, you will need all archived and on-line redo log files since the checkpoint of the files you restore.
But notice in my explanations, above, I used the term "Instance Recovery", not "Database Recovery". An "Instance Recovery" is necessary under circumstances where the power fails, for example, and the instance abnormally terminates. Another example of the need for "Instance Recovery" is if you issue a "SHUTDOWN ABORT" command, which is virtually equivalent to a power failure.
In both cases, the next time you startup the database, Oracle needs to perform an Instance Recovery. Oracle does not need to start from the last-backup copies of your database, but rather it just need to apply changes that appear in one or more on-line redo logs.
Your first scenario implies that should the power fail, Oracle needs to apply redo entries first from Group #2, then from Group #3. This could result from a transaction that began whilst Group #2 was the CURRENT on-line redo log, but did not COMMIT or ROLLBACK until Group #3 was CURRENT.
Your second scenario implies that should the power fail, Oracle needs redo information only from Group #3.
Does this provide a satisfactory explanation?
![[santa] [santa] [santa]](/data/assets/smilies/santa.gif)
Mufasa
(aka Dave of Sandy, Utah, USA)
e-mail: dave@dasages.com
@ 23:10 (15Nov04) UTC (aka "GMT" and "Zulu"),
@ 16:10 (15Nov04) Mountain Time