Which RMAN command updates the control file and recovery catalog when restoring a datafile after a media failure?
SWITCH Take the tablespace for the datafile offline, copy the file to the new location using the SET NEWNAME command, and make the new datafile active by using the SWITCH command. The RECOVER command will apply the redo logs, archived logs, and incremental and cumulative backups to the file. Issue the ALTER TABLESPACE command to bring the tablespace online. • Evaluate this command: ALTER DATABASE CLEAR LOGFILE GROUP 1 UNRECOVERABLE DATAFILE; Why would you issue this command? To clear a redo log file that is needed for recovery of an offline datafile THE ALTER DATABASE CLEAR UNARCHIVED LOGFILE command can be used when there are only two log groups or the corrupt redo log file is a member of the current group. This command will clear or recreate the files.
Related Questions
- Which RMAN command updates the control file and recovery catalog when restoring a datafile after a media failure?
- How would you recover from the loss of the recovery catalog if the control file was backed up three days ago?
- Does Deleted MPEG Video File Recovery support all Media Players and portable devices?