【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