RE: Missing datafiles

  • From: "Elliott, Patrick" <patrick.elliott@xxxxxxxxxxxxx>
  • To: <kanwar.plaha@xxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 28 Jun 2007 17:11:41 -0500

I am skeptical if you will be able to apply any redo log information
after the resetlogs command that you had to issue to get the database
up.  The SCN numbers on the online data files will be higher than the
SCN's in the old ones, also.

You might be able to get it to work by recreating the controlfile and
then issuing the "recover database until cancel using backup
controlfile" command. 
When it prompts for log files, go ahead and give it a full path name to
the current online redo logs one at a time.  Be sure to put the missing
data files in the exact same positions that they were before in the
create controlfile statement.  Don't just add them to the end.

Be sure and save the current controlfiles just to be safe in case it
doesn't work.


Pat

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Kanwar Plaha
Sent: Thursday, June 28, 2007 4:36 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: Missing datafiles

Hi,
A database was copied from another one and the controlfile to create it
missed out couple of datafiles.
The database now has missing datafiles listed in it.
Also, the fact that some datafiles are missing was not known until a few
days when some changes to the database have taken place.
My question is if its possible to 'restore' the database now? I can see
the missing datafiles on disk although with an older timestamp than the
ones that are online.
The database is in NOARCHIVELOG mode. However I checked v$log and found
that since database build, no log switch has happened yet. Does this
means shutting the database down and recreating the controlfile with the
missing datafiles can bring the database to a consistent state? Can it
use the current redo log for recovery, if required?

This is rather urgent, although not critical since its not a production
environment.

Thank you,
Kanwar
--
//www.freelists.org/webpage/oracle-l



___________________________________________________________________________________________________
CONFIDENTIALITY AND PRIVACY NOTICE
Information transmitted by this email is proprietary to Medtronic and is 
intended for use only by the individual or entity to which it is addressed, and 
may contain information that is private, privileged, confidential or exempt 
from disclosure under applicable law. If you are not the intended recipient or 
it appears that this mail has been forwarded to you without proper authority, 
you are notified that any use or dissemination of this information in any 
manner is strictly prohibited. In such cases, please delete this mail from your 
records.

To view this notice in other languages you can either select the following link 
or manually copy and paste the link into the address bar of a web browser: 
http://emaildisclaimer.medtronic.com
--
//www.freelists.org/webpage/oracle-l


Other related posts: