Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Missing datafiles
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_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Kanwar Plaha
Sent: Thursday, June 28, 2007 4:36 PM
To: oracle-l_at_freelists.org
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
--
http://www.freelists.org/webpage/oracle-l
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
--
http://www.freelists.org/webpage/oracle-l
Received on Thu Jun 28 2007 - 17:11:41 CDT
![]() |
![]() |