【翻译自mos文章】为什么在备份过程中rman不使用unused block 压缩功能
2015-02-24 08:32
423 查看
为什么在备份过程中rman不使用unused block 压缩功能?
来源于:
Why is RMAN not using Unused Block Compression during backup? (文档 ID 798844.1)
适用于:
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.2 [Release 10.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 27-Nov-2013***
目标:
在10.2版本时,并符合下面的所有条件的情况下,rman将会使用unused block 压缩功能:
但是,下面的来自于v$backup_datafile的查询显示:在备份期间,所有的datafile 均是全部扫描(%READ 是100)
解决方案:
unused block 压缩 对 10.2.0.1版本是不适用的。
只有当在打10.2.0.2patch之后建立的tablespace 才能使用unused block 压缩
因此,对于如下情况的表空间, 是不能使用unused block 压缩功能的:
在10.2.0.2之前建立的表空间
在compatible 被设置为10.2之前建立的表空间
The cause of this problem has been identified and verified in an 'unpublished' Bug 4720762 - Fixed in Product Version 11.0
来源于:
Why is RMAN not using Unused Block Compression during backup? (文档 ID 798844.1)
适用于:
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.2 [Release 10.2 to 11.2]
Information in this document applies to any platform.
***Checked for relevance on 27-Nov-2013***
目标:
在10.2版本时,并符合下面的所有条件的情况下,rman将会使用unused block 压缩功能:
The COMPATIBLE initialization parameter is set to 10.2 There are currently no guaranteed restore points defined for the database The datafile is locally managed The datafile is being backed up to a backup set as part of a full backup or a level 0 incremental backup The backup set is being created on disk or OSB backup to tape
Note: http://download.oracle.com/docs/cd/E11882_01/backup.112/e10643/rcmsynta007.htm#i1015382 . Oracle Database Backup and Recovery Reference 11g Release 2 (11.2) Part Number E10643-04 . Backup backupTypeSpec Note: If COMPATIBLE is set to 10.2, then only tablespaces created with 10.2 compatibility will be optimized to exclude blocks that do not currently contain data. If COMPATIBLE is set to 11.0.0 or higher, however, then the first backup that produces backup sets after COMPATIBLE is set to 11.0.0 or higher will update the headers of all locally managed datafiles so that all locally managed datafiles can be optimized.
但是,下面的来自于v$backup_datafile的查询显示:在备份期间,所有的datafile 均是全部扫描(%READ 是100)
SQL> set lines 120 SQL> select file# fno, used_change_tracking BCT, incremental_level INCR, datafile_blocks BLKS, block_size blksz, blocks_read READ, round((blocks_read/datafile_blocks) * 100,2) "%READ", blocks WRTN, round((blocks/datafile_blocks)*100,2) "%WRTN" from v$backup_datafile where completion_time between to_date('25-jan-09 01:30:00', 'dd-mon-rr hh24:mi:ss') and to_date('26-jan-09 12:35:26', 'dd-mon-rr hh24:mi:ss') order by file#; -- -- Change the dates as necessary to encompass the backup start and end times -- and check the %READ value for each datafile. -- -->将如上脚本的where条件修改一下,可以作为查询datafile 扫描率的一个常用脚本。
解决方案:
unused block 压缩 对 10.2.0.1版本是不适用的。
只有当在打10.2.0.2patch之后建立的tablespace 才能使用unused block 压缩
因此,对于如下情况的表空间, 是不能使用unused block 压缩功能的:
在10.2.0.2之前建立的表空间
在compatible 被设置为10.2之前建立的表空间
The cause of this problem has been identified and verified in an 'unpublished' Bug 4720762 - Fixed in Product Version 11.0
相关文章推荐
- 【翻译自mos文章】rman 备份时报:ORA-02396: exceeded maximum idle time
- 【翻译自mos文章】Block Recovery使用增量备份么?
- 【翻译自mos文章】在一个使用uniform size的 本地管理的表空间中建立一个表,为什么会忽略INITIAL 参数?
- 【翻译自mos文章】rman 备份时报:ORA-02396: exceeded maximum idle time
- 【翻译自mos文章】对rman 压缩的彻底理解
- 【翻译自mos文章】使用buffer memory 参数来调整rman的性能。
- 【翻译自mos文章】rman 标准版和企业版的兼容性
- 【翻译自mos文章】为什么GI 的 Rebootless Fencing 会失败?
- 【翻译自mos文章】rac数据库中,HC_<SID>.dat文件被其他Oracle_Home下的实例所使用。
- 【翻译自mos文章】使用aum( Automatic Undo Management) 时遇到 ORA-01555错误--- 原因和解决方案。
- 【翻译自mos文章】使用索引快速全扫(index ffs) 来避免全表扫描
- 【翻译自mos文章】使用config.sh/config.bat 来 configure or re-configure GI
- 【翻译自mos文章】使用Windows操作系统的Dell Pcserver,Oracle db报错:ORA-8103
- 【翻译自mos文章】使用asmcmd命令在本地和远程 asm 实例之间 拷贝asm file的方法
- 【翻译自mos文章】使用dbua升级时,需要手工设置CLUSTER_DATABASE参数么?
- 【翻译自mos文章】使用Process Monitor 来跟踪windows下的系统调用(system calls)
- 【翻译自mos文章】在Oracle GoldenGate中循环使用ggserr.log的方法
- 【翻译自mos文章】当控制文件的备份丢失时,怎么restore database
- 【翻译自mos文章】在rac中,使用asmcmd命令从 文件系统 move system datafile 到asm磁盘组的方法
- 【翻译自mos文章】使用dbua升级到70%左右时,os hang