ERROR OGG-00446:Could not find archived log for sequence 501 thread 1 under default destinations…
因归档日志删除导致抽取进程中断;
解决办法是恢复归档日志
方案1:恢复归档
rman
connect target sys/sys_passwd
restore archivelog from logseq 500
方案2:更新
解决的过程和方法:
1)查询thread的最大sequence,
select max(sequence#) from v$archived_log where thread#=1;
这里正好是24800,如果不是24800,那么就要在第二步中的extseqno 24801 改为你查到的那个max(sequence#)+1
2)重新指向thread 2的开始sequence
GGSCI>alter extract extxx thread 2,extseqno 24801,extrba 0
alter extract ext1,extseqno 1213,extrba 0, thread 1
指定thread2的sequence大于24800
3)使用这个方法是你的归档找不到了,如果能找到归档日志还是按照前面的那种方法来。
OGG-00446的解决方法:
最新推荐文章于 2021-04-09 07:07:31 发布