How would you open a database in ARCHIVELOG mode with a missing a datafile?
Mount the database, take the tablespace with the missing datafile offline, and open the database. To recover a lost datafile – start up the database in MOUNT mode – take the tablespace with the missing datafile offline – open the database – restore the backup datafile and all offline redolog files with OS commands – recover the datafile (not the database !) – bring the tablespace online. The tablespace will be recovered to the current time and the system will resynchronize the files. Committed data will not be lost.
Related Questions
- What should you tell users after a datafile belonging to the SYSTEM tablespace is recovered in a database that is in ARCHIVELOG mode?
- What are the steps to switch a databases archiving mode between NOARCHIEVELOG and ARCHIVELOG mode ?
- How would you open a database in ARCHIVELOG mode with a missing a datafile?