关于Block Media Recovery

文档地址:http://docs.oracle.com/cd/B19306_01/backup.102/b14191/rcmconc2.htm#i1008221

 

Block Media Recovery with RMAN

Although datafile media recovery is the principal formof recovery, you can also use the RMAN BLOCKRECOVER command to performblock media recovery. Block mediarecovery recovers an individual corrupt datablock or set ofdatablocks within a datafile. In cases when a small number ofblocks require media recovery, you can selectively restore andrecover damaged blocks rather than whole datafiles.

Block media recovery provides several advantages over datafilemedia recovery. For example, block media recovery

  • Lowers the Mean Time to Recovery (MTTR) because onlyblocks needing recovery are restored and only necessary corruptblocks undergo recovery. Block media recovery minimizes redoapplication time and avoids I/O overhead during recovery.

  • Allows affected datafiles to remain online during recovery ofthe blocks. Without block-level recovery, if even a single block iscorrupt, then you must restore a backup of the entire datafile andapply all redo generated for that file after the backup wascreated.

Note these restrictions of block media recovery:

  • You can only perform block media recovery with RMAN. No SQL*Plusrecovery interface is available.

  • You can only perform complete recovery of individual blocks. Inother words, you cannot stop recovery before all redo has beenapplied to the block.

  • You can only recover blocks marked media corrupt. TheV$DATABASE_BLOCK_CORRUPTION view indicates whichblocks in a file were marked corrupt since the most recentBACKUP or BACKUP ...VALIDATE command was run against the file.

  • You must have a full RMAN backup. Incremental backupsare not used by block media recovery. Proxy backups are also notused by block media recovery. Only full backups and archived logfiles are used.

  • Block media recovery is able to restore blocks from parentincarnation backups and recover the corrupted blocks through aRESETLOGS.

  • Blocks that are marked media corrupt are not accessible to usersuntil recovery is complete. Any attempt to use a block undergoingmedia recovery results in an error message indicating that theblock is media corrupt.

 

Using BACKUP... VALIDATE

 

Using the RMAN BACKUP... VALIDATE command causes RMAN to readall of the specified database files that would be input for aspecific backup task, without actually producing any backups asoutput. For example, BACKUP DATABASE VALIDATE causes RMAN to readall files that would be backed up in backing up the entire databaseand ensure that they are intact and not corrupted. All of the datablocks in the input files are validated, exactly as they are when areal backup takes place. This process can provide a usefulintegrity check for your database.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值