Recovery_scenerio

Hi,
Dear Gurus.
Oracle :9.2.0
OS: windows XP
I tried to shut down the database.
The database was shutting down cleanly. But at mount state it stopped. After waiting for an hour I just rebooted the machine.
I checked the status of the database. It was open.
No errors in alert log file.
When i checked the status of the datafile I found
out of 34 datafiles one datafile (file# no 11) status is recover.
Database is in archive log mode. I have RMAN Backup.
I dont have user managed backup.
I made the datafile offline( it was already offline)
at rman prompt.
I tried
1. RMAN>restore datafile 11;
after half an hour It successfully it says
restore successfully.
2.RMAN>recover datafile 11;
It applied around 200 archive log files.
till 1406 successfullly.
At 1407 it throws the error.(i.e the last arch file)
recovery failed.
I tried restore database and recover database(but the same error)
REASON:When I checked the archive log files.
I find that all arch files size 100mb
but the arch file no 1407 file is only 60mb. (i.e at the time which it was shut down).
I tried many possible reasons.
I am not able to post this question since 2 days we are facing Net problem
And also I m not able to post the RMAN errors.
which I got in office since I at home now.
My Request:
I would like to know the method where I can apply archive log files and want to avoid the last one 1407 file no.
I tried until scn, until time. but of no use.
same error.
else any other suggestion by experts:
NOTE: Restore is successful. database is upon running. all other datafiles are healthy.
Thanking you
sincierly,

Do you know for sure if Log Sequence #407 is corrupted ?
In the first place, after you did the REBOOT, if your redo logs were not corrupted, you did not have to restore datafile 11. You needed a RECOVER, not a RESTORE. So you should have tried a RECOVER.
Since you did a RESTORE from an older backup, Oracle had to roll-forward the datafile through all the archivelogs from the time of the backup.
If you had taken a Cold Backup (even if the database was "not consistent") of the Database and Redo Log* files (and control files) before restoring file 11, you could have reverted to that Cold Backup and restried a RECOVER DATAFILE 11 (without doing a RESTORE).
In your current situation, if Sequence#407 is corrupt and you have restored your database from an older backup, you should be using
SET UNTIL SEQUENCE=407
before the RECOVER DATABASE
so that Oracle would stop recovery after applying Sequence 406.
Then after the RECOVER is completed, attempt an ALTER DATABASE OPEN RESETLOGS.

Similar Messages

Maybe you are looking for

  • Computer automatically starts up when connected to power source

    I turn it off, I close the top, I tuck it away on a shelf for the night, and plug it in to charge up while I sleep. And it turns itself on. Am I missing a setting in the System Preferences, or is this a glitch? It's a bit of a pain, I don't want my c

  • How to rate videos in a playlist from phone?

    If I have a playlist of videos (or video podcasts), and I watch them on the iPhone, is it possible to rate them (with stars, like I can do in iTunes on my Mac) so that the info gets back to iTunes when I sync it?

  • Open File in Reader or Acrobat

    I have Acrobat 8 and Reader X installed on my PC (Vista Business). After installing updates for both programs over the past few months I have lost the default toolbar on documents I download from the web and need to use F8 to get a toolbar. In additi

  • Ldif2db command fails to import data and deletes the root node

    ldif2db command fails to import data into LDAP. The command used was ldif2db -n userRoot -s "dc=example,dc=com" -i test.ldif The test.ldif conains the nodes under dc=example,dc-com eg: ou=test,dc=example,dc=com But on executing the command the root n

  • Opening .exe files

    Sorry if this question has been asked before! I'm using a MacBook and I'm having trouble opening files that are in .exe format. I do have MacLinkPlus but this program doesn't seem to be able to convert the file. Is there another way that I can open .