After doing an OFFLINE DROP, is it possible to get the datafile back online
or do we have to recover the file from backups ?
We did this ...
ALTER DATABASE DATAFILE '<file>' OFFLINE DROP;
At this point the physical data files exists and the file is still visible in V$DATAFILE and DBA_DATAFILES as follows
V$DATAFILE Status = RECOVER
DBA_DATA_FILES Status = AVAILABLE Online Status = RECOVER
At this point, attempts to make the datafile online fail
ALTER DATABASE DATAFILE '<file>' ONLINE;
ORA-01113: file 15 needs media recovery
ORA-01110: data file 15: '<file>'
Is it possible to get the datafile back online ?
Are there any issues ? Do I have to mount the database in a particular mode to do this ?
Environment - RDBMS 10.2.0.4.0, HP-UX