Resetlogs and new incarnation

  • From: Jill.Drocea@xxxxxxxxxxxxxxxxxxx
  • To: oracle-l@xxxxxxxxxxxxx
  • Date: Tue, 3 Jan 2006 09:03:36 -0500

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@xxxxxxxxxxxxxxxxxxx


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.

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


Other related posts: