RMAN备份动态性能视图 V$BACKUP_CORRUPTION

来源:互联网 发布:js json对象的长度 编辑:程序博客网 时间:2024/06/04 19:22

这个视图中记录了备份集中发现的损坏的数据块,通常是当你在RMAN中执行了BACKUP VALIDATE命令对备份集进行检查后,如果发现有操作的数据块,就会向该视图中插入记录。注意不包括控制文件或归档文件,因为这两类文件都是独立个体,一旦损坏就表示彻底完蛋,不可修复,不像数据块,就算某个数据块坏了也没关系,还可以用其他备份集中匹配的数据进行修复。该视图的列定义都比较简单,字面意义理解即可,就不过多描述了。

V$BACKUP_CORRUPTION displays information about corrupt block ranges in datafile backups from the control file. Note that corruptions are not tolerated in the control file and archived redo log backups.

ColumnDatatypeDescriptionRECIDNUMBERBackup corruption record IDSTAMPNUMBERBackup corruption record stampSET_STAMPNUMBERBackup set stampSET_COUNTNUMBERBackup set countPIECE#NUMBERbackup piece that contains this corrupt blockFILE#NUMBERAbsolute file number of the datafile that contains the corrupt blocksBLOCK#NUMBERBlock number of the first corrupt block in the range of corrupted blocksBLOCKSNUMBERNumber of corrupted blocks found starting with BLOCK#CORRUPTION_CHANGE#NUMBERChange number at which the logical corruption was detected. Set to 0 to indicate media corruption.MARKED_CORRUPTVARCHAR2(3)Indicates whether this corruption was not previously detected by the Oracle Database (YES) or the Oracle Database had already discovered this corrupt block and marked it as corrupt (NO). Note that when a corrupt block is encountered in a backup, and was not already marked corrupt by the Oracle Database, then the backup process does not mark the block as corrupt in the production datafile. Thus, this field may beYES for the same block in more than one backup set.CORRUPTION_TYPEVARCHAR2(9)Type of block corruption in the datafile:
  • ALL ZERO - Block header on disk contained only zeros. The block may be valid if it was never filled and if it is in an Oracle7 file. The buffer will be reformatted to the Oracle8 standard for an empty block.

  • FRACTURED - Block header looks reasonable, but the front and back of the block are different versions.

  • CHECKSUM - optional check value shows that the block is not self-consistent. It is impossible to determine exactly why the check value fails, but it probably fails because sectors in the middle of the block are from different versions.

  • CORRUPT - Block is wrongly identified or is not a data block (for example, the data block address is missing)

  • LOGICAL - Block is logically corrupt

  • NOLOGGING - Block does not have redo log entries (for example,NOLOGGING operations on primary database can introduce this type of corruption on a physical standby)


0 0
原创粉丝点击