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: Resetlogs and new incarnation

RE: Resetlogs and new incarnation

From: Mark W. Farnham <mwf_at_rsiz.com>
Date: 2006-01-03 19:40:44
Message-id: KNEIIDHFLNJDHOOCFCDKCEFKHHAA.mwf@rsiz.com


The "instance" number has to do with RAC and a particular set of memory and processes running on a given database (loosely put, the files). Without RAC, you'll have exactly one instance (unless you're a dinosaur running OPS, in which case, eew.)

Are you thinking about the "thread" number in your archive log format setting (which corresponds to instance)?

On resetlogs, the sequence number of the logs is indeed reset, and the previously made archived redo logs have nothing to do with your recovery process of the current files of the database any more, except perhaps research via logminer on how you got to where you are.

Now you've also used the word "incarnation." In this sense are you talking about RMAN incarnations? If not, what?

Regards,

mwf

-----Original Message-----

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Jill.Drocea_at_VerizonWireless.com
Sent: Tuesday, January 03, 2006 9:04 AM
To: oracle-l_at_freelists.org
Cc: Jill.Drocea_at_VerizonWireless.com
Subject: Resetlogs and new incarnation

I'm using 10g and exercising backups through resetlogs.

Command:

select INSTANCE_NUMBER, INSTANCE_NAME from v$instance;

INSTANCE_NUMBER INSTANCE_NAME
--------------- ----------------

              1 XYZ_SID I issued point-in-time recovery followed by

alter database open resetlogs;

select INSTANCE_NUMBER, INSTANCE_NAME from v$instance;

INSTANCE_NUMBER INSTANCE_NAME
--------------- ----------------

              1 XYZ_SID SQL select SEQUENCE#, resetlogs_change#, resetlogs_time from v$log_history

Shows the sequence# reset to 1 and the sequence number in my archive file name has been reset to 1. My log_archive_format is set to xyz_sid_%S_%t_%r.arc. Below you can see that my sequence number was reset.

Xyz_sid_0000000022_1_575652460.arc
Xyz_sid_0000000001_1_578653176.arc

I expected a new instance_number without resetting the sequence number. Is my assumption correct?

Jill Drocea
Oracle DBA
Verizon Wireless
845-365-7465
Jill.Drocea_at_verizonwireless.com

The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you.

--

http://www.freelists.org/webpage/oracle-l

--

http://www.freelists.org/webpage/oracle-l Received on Tue Jan 03 2006 - 19:40:44 CST

Original text of this message

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