重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3853|回复: 0
打印 上一主题 下一主题

[备份恢复] RMAN DELETE ARCHIVELOG Command Takes Long Time to Complete

[复制链接]
跳转到指定楼层
楼主
发表于 2019-3-13 10:41:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
RMAN DELETE ARCHIVELOG Command Takes Long Time to Complete (文档 ID 1589307.1)
转到底部

In this Document
Symptoms
Changes
Cause
Solution
References

Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.2.0 and later
Information in this document applies to any platform.
Symptoms
- RMAN delete archivelog command takes a very long time.
- Debug trace shows the time is being spent on call to refreshAgedFiles:
DBGMISC:       Executing command REFAF [15:32:26.218] (krmiexe)
..
DBGPLSQL:      channel default: Starting refreshAgedFiles at 26-sep-13 15:32:26 [15:32:26.236] (refreshAgedFiles)
DBGMISC:      EXITED krmiexe with status 0 [17:11:02.377] elapsed time [00:01:38:36.158]
DBGMISC:      Finished REFAF at 26-sep-13 17:11:02 [17:11:02.377]   <======== 1:39 mins
DBGMISC:     EXITED krmice [17:11:02.377] elapsed time [00:01:38:36.181]
DBGMISC:     ENTERED krmkmrsr [17:11:02.377]

- Problem SQL is:

SQL>SELECT :B7 TYPE_CON, OFFR.RECID KEY_CON, OFFR.RECID RECID_CON, OFFR.STAMP
STAMP_CON, TO_NUMBER(NULL) SETSTAMP_CON, TO_NUMBER(NULL) SETCOUNT_CON,
TO_NUMBER(NULL) BSRECID_CON, TO_NUMBER(NULL) BSSTAMP_CON, TO_NUMBER(NULL)
BSKEY_CON, TO_NUMBER(NULL) BSLEVEL_CON, TO_CHAR(NULL) BSTYPE_CON,
TO_NUMBER(NULL) ELAPSESECS_CON, TO_NUMBER(NULL) PIECECOUNT_CON,
TO_CHAR(NULL) FILENAME_CON, TO_CHAR(NULL) TAG_CON, TO_NUMBER(NULL)
COPYNUMBER_CON, TO_CHAR(NULL) STATUS_CON, TO_NUMBER(NULL) BLOCKS_CON,
...etc

Changes

Cause
Bug 14482635 : RMAN BACKUP IS TAKING LONG TIME WHEN FLASH RECOVERY AREA IS ENABLED


Solution
Bug 14482635  has been suspended as the requested information was not provided by client to debug it further
- The workaround is to use a RULE hint:
RMAN>sql "alter session set optimizer_mode=RULE";
RMAN>delete....



References
BUG:14482635 - RMAN BACKUP IS TAKING LONG TIME WHEN FLASH RECOVERY AREA IS ENABLEDb
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-30 15:10 , Processed in 0.076984 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表