欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

【翻译自mos文章】BlockRecovery使用增量备份么?

程序员文章站 2022-06-10 10:38:15
...

Block Recovery使用增量备份么? 翻译自: Does Block Recovery use Incremental Backups?? (Doc ID 727706.1) 适用于: Oracle Database - Enterprise Edition - Version 9.2.0.8 to 12.1.0.1 [Release 9.2 to 12.1] Information in this document applies t

Block Recovery使用增量备份么?
翻译自:
Does Block Recovery use Incremental Backups?? (Doc ID 727706.1)

适用于:
Oracle Database - Enterprise Edition - Version 9.2.0.8 to 12.1.0.1 [Release 9.2 to 12.1]
Information in this document applies to any platform.
Information in this document applies to any platform.

目标:
Block Recovery 会考虑到可以使用的增量备份么?

解决方案:
包含坏块的datafile的备份必须是"full backups" or "Incremental level 0 backups"

Block Recovery 不会使用 'incremental level 1' 备份,
因为不完全扫描backupset的话,我们不知道需要恢复的block是否存在。
这么做可能导致资源的浪费,若是块不在增量备份中的话。

因此,blockrecover命令只会使用归档日志和备份来完成恢复工作。

New from 11gR1 onward
- Flashback logs are as well searched for good copies of the block, but for RMAN to be able to search the flashback logs
for good copies of corrupt blocks, Flashback Database must be enabled on the target database.

When performing block media recovery, RMAN automatically searches the flashback logs, if they are available,
for the required blocks before searching backups.
- Command BLOCKRECOVER is replaced by RECOVER BLOCK .