RE: Backup Controlfile and ArchiveLog -- was re Urgent ORA-00600: internal error code

  • From: Hemant K Chitale <hkchital@xxxxxxxxxxxxxx>
  • To: JDunn@xxxxxxxxx, "John Dunn" <JDunn@xxxxxxxxx>, "Ghassan Salem" <salem.ghassan@xxxxxxxxx>
  • Date: Fri, 04 May 2007 21:57:47 +0800


The "USING BACKUP CONTROLFILE" tells Oracle that the SCNs in the Controlfiles are NOT the current ones . Oracle keeps prompting for as many archivelogs as you have available because
it does not know how many you really have.
[Say that on Wednesday you restore the databasefiles as of Monday. You also do not have the "current" controlfile of Wednesday. You have had to recreate the controlfile and tell Oracle that you are using a Backup Controlfile. Oracle then doesn't know if you have ArchiveLogs for Monday and also ArchiveLogs for Tuesday and also ArchiveLogs for Wednesday. You may have Monday's files and Tuesday's files but not Wednesday's ArchiveLogs. Oracle just doesn't know because the
"current" status is not available in the controlfile that you have recreated].
Oracle keeps prompting for the next archivelog until you have applied all your archivelogs
at which point YOU as the DBA must say CANCEL  and then OPEN RESETLOGS.

Why Archivelogs ? Again, because information is no longer available in the controlfile that you have intialized ! If you really have no ArchiveLogs [you weren't running ArchiveLog !]
just say CANCEL and then OPEN RESETLOGS.

In all cases, ensure that you HAVE CORRECTLY CREATED THE CONTROLFILEs,
naming every DataFile -- once you OPEN, Oracle does a Data Dictionary check and any datafile in the Data Dictionary but not in your Controlfile becomes a "MISSING" datafile !
{so sometimes we do another backup, if we can, before the OPEN RESETLOGS !}


Having said all that, why are you sure that you DID need to recreate your controlfiles and reset your online logs ? Was the problem something to do with mountpoints and
permissions only ?

Hemant

At 07:33 PM Friday, John Dunn wrote:
OK, I have recreated the control file but when I run RECOVER DATABASE USING BACKUP CONTROLFILE I get the following errors.

I am not and never have been using archivelogs so why is it asking for this file?

SQL> RECOVER DATABASE USING BACKUP CONTROLFILE;

ORA-00279: change 406102834 generated at 05/02/2007 03:19:46 needed for thread1


John





----------



Hemant K Chitale
http://web.singnet.com.sg/~hkchital
and
http://hemantscribbles.blogspot.com
and
http://hemantoracledba.blogspot.com

"First they ignore you, then they laugh at you, then they fight you, then you win" !" Mohandas Gandhi Quotes : http://www.brainyquote.com/quotes/authors/m/mohandas_gandhi.html

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


Other related posts: