11.07.2015 Views

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

94 CHAPTER 2 ■ DATABASE DIAGNOSABILITY AND FAILURE REPAIRcontents of repair script:# restore and recover datafilerestore check readonly datafile 4, 5;recover datafile 4, 5;RMAN>4. Finally, direct RMAN to repair the problems it found earlier:RMAN> repair failure;Strategy Repair script------------ -------------no data loss C:\ORCL<strong>11</strong>\APP\ORACLE\NICK\DIAG\diag\rdbms\nick\nick\hm\reco_<strong>11</strong>39896242.hmcontents of repair script:# restore and recover datafilerestore check readonly datafile 4, 5;recover datafile 4, 5;Do you really want to execute the above repair (enter YES or NO)? yesexecuting repair scriptStarting restore at 29-MAR-07using channel ORA_DISK_1channel ORA_DISK_1: starting datafile backup set restorechannel ORA_DISK_1: specifying datafile(s) to restore from backup setFinished restore at 29-MAR-07Starting recover at 29-MAR-07using channel ORA_DISK_1starting media recoveryRMAN-08187: WARNING: media recovery until SCN 1741717 completeFinished recover at 29-MAR-07repair failure completeDo you want to open the database (enter YES or NO)? yesRMAN>When you choose to let the Data Recovery Advisor open the database, as shown in thisexample, the database is opened automatically, since the recovery has already been completedin the previous step.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!