【oracle】oracledba21 use the RMAN BLOCKRECOVER command,oracledba21rman

來源:互聯網
上載者:User

【oracle】oracledba21 use the RMAN BLOCKRECOVER command,oracledba21rman

 You work as a database administrator at Certkiller .com. Your database is open and  running in ARCHIVELOG mode.

 You take RMAN full backups every Sunday night. On Monday morning, while querying the user1.employees table, 

you receive the following error message:  

01578: ORACLE data block corrupted (file # 5, block # 51)  ORA-01110: data file 5: '/u01/app/oracle/oradata/orcl/example01.dbf'  

You need to rectify the corruption while ensuring the following:  

The data file should remain online. The mean time to recover (MTTR) should be minimal. You are not using a backup control file and all the

archived logs are accessible. Which option would you choose?  

A. flash back the corrupted blocks  

B. use the DBMS_REPAIR package  

C. use the RMAN TSPITR command  

D. use the RMAN BLOCKRECOVER command  

E. use the RESTORE DATABASE and RECOVER DATABASE commands  

F. investigate the time at which the corruption occurred and perform a point-in-time recovery  

Answer: D  

資料庫在歸檔模式下,每個星期天進行一次全備份,星期一早晨探索資料塊損壞,要求 MTTR 時間最少,要求 data file 線上,所以最好的方法就是 RMANBLOCKRECOVER

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.