Datafile in offline status in noarchivelog database. Error ora-1206 when trying to bring it online
Hi,
We have a 12.1.0.2 database that's just been cloned from production and one of the datafile is having issues.
SQL> alter database datafile '/D01/oradev/devdata/APPS_TS_MEDIA05.dbf' online;
alter database datafile '/D01/oradev/devdata/APPS_TS_MEDIA05.dbf' online
*
ERROR at line 1:
ORA-01122: database file 51 failed verification check
ORA-01110: data file 51: '/D01/oradev/devdata/APPS_TS_MEDIA05.dbf'
ORA-01206: file is not part of this database - wrong database id
Since this tabelspace has four other datafiles and the size is over 120G, I can't drop the tablespace. What are my options to bring this datafile online? Media recovery was done which changed the status of this datafile from "RECOVER" to "OFFLINE".