快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

goldengate缺少归档日志abend处理

ogg抽取进程abend,检查发现备库的日志被删除掉了:

2018-10-11 11:14:52  ERROR   OGG-00446  Could not find archived log for sequence 20064 thread 2 under default destinations SQL  v$archived_log   WHERE sequence# = :ora_seq_no AND         thread# = :ora_thread AND         resetlogs_id = :ora_resetlog_id AND         archived =
 'YES' AND         deleted = 'NO' >, error retrieving redo file name for sequence 20064, archived = 1, use_alternate = 0Not able to establish initia
l position for sequence 20064, rba 235066896.

2018-10-11 11:14:52  ERROR   OGG-01668  PROCESS ABENDING.

到主库拷贝日志:
ASMCMD> cp thread_2_seq_20064.489.989227143 /home/grid/thread_2_seq_20064.489.989227143
copying +arch/chunqiu/ARCHIVELOG/2018_10_11/thread_2_seq_20064.489.989227143 -> /home/grid/thread_2_seq_20064.489.989227143

scp 拷贝到远程的备库上,注册归档:
alter database register logfile '/home/oracle/thread_2_seq_20064.489.989227143';

重新启动抽取进程,正常。

测试日志参考:
1.注册少量的日志:
SQL> alter database register logfile '/home/oracle/thread_2_seq_20064.489.989227143';
2.注册大量的日志
rman> catalog start with '/home/oracle/archlog';

创新互联建站主营市中网站建设的网络公司,主营网站建设方案,重庆App定制开发,市中h5小程序制作搭建,市中网站营销推广欢迎市中等地区企业咨询


文章名称:goldengate缺少归档日志abend处理
文章URL:http://6mz.cn/article/iiejci.html

其他资讯