Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: What happens during open resetlogs?

RE: What happens during open resetlogs?

From: Tanel Poder <tanel.poder.003_at_mail.ee>
Date: Tue, 22 Aug 2006 22:12:19 +0800
Message-id: <004001c6c5f4$fb05a0e0$6501a8c0@windows01>


The most important task of a resetlogs operation is updating the RESETLOGS_CHANGE# in datafile headers (as seen from V$DATAFILE_HEADER).

All other things like overwriting online redologs and updating controlfiles are secondary, not crucial (you don't even need online redologs in order to roll forward an old backup using archivelogs to some point in past. Also, the need for controlfiles is just for convenience, not crucial for recovery).

Updating resetlogs_change# states that these datafiles belong to a new incarnation of the database now and any more archivelogs generated by the "old" database can't be applied to this new incarnation (with one minor exception of recovering over resetlogs though).

Btw, Oracle 10g includes the resetlogs_change# in the default log_archive_format string now as well, so nobody would accidentially try to apply wrong logs (although with similar log sequence numbers) to their databases..

Tanel.

> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org
> [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of
> Alessandro Vercelli
> Sent: Tuesday, August 22, 2006 18:04
> To: oracle
> Cc: oracle-l
> Subject: Re:What happens during open resetlogs?
>
> Maybe you can find a brief answer on an old 8.16 release
> Oracle Doc. Part No. a76993.
>
> Good luck for you exam,
>
> Alessandro

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Aug 22 2006 - 09:12:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US