recover database with corrupt datafile
I have an Oracle 9.2.0.6.0 database which has crashed due to disk failure & there is no backup. on the disk that failed there is one rollback datafile so I was hoping to be able to just drop this datafile & the related tablespace & recreate on disk that is OK.
I found the following instructions in a thread on this forum & managed the offline drop of the datafile & the alter database open. However when I tried to drop the rollback tablespace it couldn't find what I though the tablespace was. Now when I try & do anything with the DB is failed with the error -
Error 376 happened during db open, shutting down database
USER: terminating instance due to error 376
Instance terminated by USER, pid = 47050
ORA-1092 signalled during: ALTER DATABASE OPEN...
the instructions I was following were :-
Database was NOT cleanly shut down
I.e. Datafile was accidentally dropped using operating system command, when the database was not cleanly shutdown using SHUTDOWN ABORT COMMAND.
* Check the alert.log file for this instance.
* Comment out the ROLLBACK_SEGMENTS parameter and add the following line: corruptedrollback_segments = ( ,...., ) i.e., the above list should contain all the rollbacks originally listed in the ROLLBACK_SEGMENTS parameter.
* Mount the database in restricted mode. STARTUP RESTRICT MOUNT
* Offline drop the lost datafile.
ALTER DATABASE DATAFILE OFFLINE DROP;
* Open the database.
ALTER DATABASE OPEN.
* Drop the rollback tablespace to which the datafile belonged.
* Recreate the rollback tablespace with all its rollback segments. Remember to bring the rollbacks online after you create them.
* Make the database available to all users.
* ALTER SYSTEM DISABLE RESTRICTED SESSION;
You should be able to see your database back at this step.
Any ideas how to indentify the tablespace that I need to drop & how to get the database into a state that will let me attempt this?