记一次ADG备库归档目录满导致的延时处理

Posted kawashibara

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了记一次ADG备库归档目录满导致的延时处理相关的知识,希望对你有一定的参考价值。

报错如下,原因是存放传过来的归档的目录+HWAREDODG满了,MRP进程无法应用归档,我在手动传了几个归档之后发现不是GAP,select * from V$ARCHIVE_GAP 显示没有GAP。于是就把HWAREDODG下已经应用的归档删掉,

rman target /

rman>select ‘run{‘ from dual

union all

select ‘delete noprompt archivelog until sequence ‘||max(sequence#)||‘ thread ‘||thread#||‘;‘ from v$archived_log where applied=‘YES‘ and name is not null GROUP BY thread#

union all

select ‘}‘ from dual;

删除后归档顺利生成,MRP进程正常应用

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

FAL[client]: Failed to request gap sequence

GAP - thread 1 sequence 19387-19387

DBID 3365933973 branch 982424855

FAL[client]: All defined FAL servers have been attempted.

------------------------------------------------------------

Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization

parameter is defined to a value that‘s sufficiently large

enough to maintain adequate log switch information to resolve

archivelog gaps.

------------------------------------------------------------

Mon Feb 18 22:22:06 2019

Archived Log entry 10638 added for thread 2 sequence 16410 ID 0xc935a096 dest 1:

Mon Feb 18 22:22:06 2019

Unable to create archive log file ‘+HWAREDODG‘

Mon Feb 18 22:22:06 2019

Errors in file /oracle/app/oracle/diag/rdbms/wlwzz/wlwcdb/trace/wlwcdb_arc3_10142.trc:

ORA-19504: failed to create file "+HWAREDODG"

ORA-17502: ksfdcre:4 Failed to create file +HWAREDODG

ORA-15041: diskgroup "HWAREDODG" space exhausted

ARC3: Error 19504 Creating archive log file to ‘+HWAREDODG‘

Mon Feb 18 22:29:06 2019

Unable to create archive log file ‘+HWAREDODG‘

Mon Feb 18 22:29:06 2019

Errors in file /oracle/app/oracle/diag/rdbms/wlwzz/wlwcdb/trace/wlwcdb_arc1_10138.trc:

ORA-19504: failed to create file "+HWAREDODG"

ORA-17502: ksfdcre:4 Failed to create file +HWAREDODG

ORA-15041: diskgroup "HWAREDODG" space exhausted

ARC1: Error 19504 Creating archive log file to ‘+HWAREDODG‘

Mon Feb 18 22:36:06 2019

Unable to create archive log file ‘+HWAREDODG‘

Mon Feb 18 22:36:06 2019

Errors in file /oracle/app/oracle/diag/rdbms/wlwzz/wlwcdb/trace/wlwcdb_arc0_10136.trc:

ORA-19504: failed to create file "+HWAREDODG"

ORA-17502: ksfdcre:4 Failed to create file +HWAREDODG

ORA-15041: diskgroup "HWAREDODG" space exhausted

ARC0: Error 19504 Creating archive log file to ‘+HWAREDODG‘

Mon Feb 18 22:44:07 2019

Unable to create archive log file ‘+HWAREDODG‘

Mon Feb 18 22:44:07 2019

Errors in file /oracle/app/oracle/diag/rdbms/wlwzz/wlwcdb/trace/wlwcdb_arc3_10142.trc:

ORA-19504: failed to create file "+HWAREDODG"

ORA-17502: ksfdcre:4 Failed to create file +HWAREDODG

ORA-15041: diskgroup "HWAREDODG" space exhausted

ARC3: Error 19504 Creating archive log file to ‘+HWAREDODG‘

Mon Feb 18 22:51:07 2019

Unable to create archive log file ‘+HWAREDODG‘

Mon Feb 18 22:51:07 2019

Errors in file /oracle/app/oracle/diag/rdbms/wlwzz/wlwcdb/trace/wlwcdb_arc1_10138.trc:

ORA-19504: failed to create file "+HWAREDODG"

ORA-17502: ksfdcre:4 Failed to create file +HWAREDODG

ORA-15041: diskgroup "HWAREDODG" space exhausted

ARC1: Error 19504 Creating archive log file to ‘+HWAREDODG‘

以上是关于记一次ADG备库归档目录满导致的延时处理的主要内容,如果未能解决你的问题,请参考以下文章

12c ADG无法删除备库归档RMAN-08137

为什么 dataguard 应用 归档日志 速度

Oracle Dataguard中备库中归档日志不同步

ADG 备库数据文件损坏处理

ADG搭建 基本款(主备完全一致)

分析ADG网卡流量出现规律性毛刺现象