码迷,mamicode.com
首页 > 数据库 > 详细

Could not find archived log for sequence 1 thread 2 under default destinations SQL

时间:2014-11-21 16:31:51      阅读:327      评论:0      收藏:0      [点我收藏+]

标签:could not find archived log for sequence 1 thread 2 under default destinations

ERROR   OGG-00446  Oracle GoldenGate Capture for Oracle, extjms2.prm:  Could not find archived log for sequence 1 thread 2 under default destinations SQL <SELECT  name    FROM 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 1, archived = 1, use_alternate = 0Not able to establish initial position for begin time 2014-11-21 11:08:09.

由于线程2为1的归档日志已经被删除,导致goldengate 抽取进程停止:

解决方法:

1、恢复删除的归档日志,重新启动抽取进程;

RMAN>restore archivelog from logseq 1 until logseq  2;

GGSCI>start extjms2

2、通过v$archived_log查询到下个日志的时间点,重新指定抽取进程的时间点,启动抽取进程;

GGSCI>alter extract extjms2 ,begin 2014-11-20 00:20:15

GGSCI>start extjms2

    

Could not find archived log for sequence 1 thread 2 under default destinations SQL

标签:could not find archived log for sequence 1 thread 2 under default destinations

原文地址:http://yiqiuyu.blog.51cto.com/3228402/1580860

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!