ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

OGG-00446重新注册归档

2022-08-31 10:01:34  阅读:169  来源: 互联网

标签:921338391 log 00446 arc 22705 归档 OGG _% bash


单位: 重庆地税副本库:99.12.102.136  

描述:

副本库efb_jz进程abenden,报错ERROR OGG-00446

View report efb_jz 2017-08-30 08:31:39 ERROR OGG-00446 could not find archived log for sequence 22704 thread alternative destination....  

原因:

在做网络割接时修改了分发库的归档日志格式参数,导致报错

Alter system set log_archive_format=’log_%t_%s_%r.arc’ scope=spfile sid=’*’;  

处理过程:

1)源端将参数改回,重启库使参数生效

Alter system set log_archive_format=’log_%t_%s_%r.dbf’ scope=spfile sid=’*’;  

2)目标端备份log_1_22705_921338391.arc,以防被删

[root@localhost ~]# su - oracle -bash-4.1$ cd /gol* -bash-4.1$ cd arch -bash-4.1$ ls -l *22705* -bash-4.1$ cp  log_1_22705_921338391.arc 1_22705_921338391.dbf  

3)RMAN删除log_1_22705_921338391.arc

-bash-4.1$ rman target / Recovery Manager: Release 11.2.0.3.0 - Production on Mon Sep 4 12:01:46 2017 Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved. connected to target database: CQLTHXFF (DBID=3876192661) RMAN> delete archivelog sequence 22705; using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=1010 device type=DISK List of Archived Log Copies for database with db_unique_name CQLTHXFF_ST1 ===================================================================== Key     Thrd Seq     S Low Time           ------- ---- ------- - ------------------- 12174   1    22705   A 2017-08-28 18:22:01         Name: /goldengate/arch/log_1_22705_921338391.arc Do you really want to delete the above objects (enter YES or NO)? yes deleted archived log archived log file name=/goldengate/arch/log_1_22705_921338391.arc RECID=12174 STAMP=953487839 Deleted 1 objects RMAN> exit Recovery Manager complete.  

4)注册.dbf归档

-bash-4.1$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.3.0 Production on Mon Sep 4 12:02:31 2017 Copyright (c) 1982, 2011, Oracle.  All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> alter database register logfile '/goldengate/arch/1_22705_921338391.dbf'; Database altered.  

标签:921338391,log,00446,arc,22705,归档,OGG,_%,bash
来源: https://www.cnblogs.com/wounder/p/16641962.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有