053试题 329 - recover corruption list

题目:

329.If you find errors in the view V$DATABASE_BLOCK_CORRUPTION with a status of
MEDIA_CORRUPT, what RMAN command would you run to correct the problem?
A. recover lost blocks;
B. recover corrupt blocks;
C. recover media corrupt blocks from list;
D. recover corrupt blocks from list;
E. recover corruption list;
 
参考答案E
解析
题目意思是,发现视图v$database_block_corruption视图中有media_currupt。问使用哪个命令修复,使用recover corruption list命令修复。
选择E 。


参考文档:

https://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmblock.htm#BRADV200

Recovering All Blocks in V$DATABASE_BLOCK_CORRUPTION

In this scenario, RMAN automatically recovers all blocks listed in the V$DATABASE_BLOCK_CORRUPTION view.

To recover all blocks logged in V$DATABASE_BLOCK_CORRUPTION:

  1. Start SQL*Plus and connect to the target database.

  2. Query V$DATABASE_BLOCK_CORRUPTION to determine whether corrupt blocks exist. For example, execute the following statement:

    SQL> SELECT * FROM V$DATABASE_BLOCK_CORRUPTION;
    
  3. Start RMAN and connect to the target database.

  4. Recover all blocks marked corrupt in V$DATABASE_BLOCK_CORRUPTION.

    The following command repairs all physically corrupted blocks recorded in the view:

    RMAN> RECOVER CORRUPTION LIST;
    

    After the blocks are recovered, the database removes them from V$DATABASE_BLOCK_CORRUPTION.

END

上一篇:区块链学习(三)区块链实例


下一篇:磁盘管理之磁盘分区