Database Backup and Recovery (MOSC)

MOSC Banner

Datafile in offline status in noarchivelog database. Error ora-1206 when trying to bring it online

edited Jun 24, 2015 10:05AM in Database Backup and Recovery (MOSC) 5 commentsAnswered

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".

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center