成都创新互联网站制作重庆分公司

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处理
当前链接:http://cxhlcq.com/article/iiejci.html

其他资讯

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部