pump进程报如下错误:
2015-03-06 01:20:49 ERROR OGG-01496 Oracle GoldenGate Capture for Oracle, ext2.prm: ./dirdat/sa000000, at RBA 2295.
目标端不存在该tail文件,可能是目标端trail文件丢失,或者目标已经重建。这时候我们只需要执行:
alter extract ext2 etrollover
GGSCI (zbdba1) 39> alter extract ext2, EXTSEQNO 1, EXTRBA 0
EXTRACT altered.
GGSCI (zbdba1) 1> info ext2
EXTRACT EXT2 Last Started 2015-03-06 01:46 Status RUNNING
Checkpoint Lag 00:00:00 (updated 00:00:06 ago)
Log Read Checkpoint File /ogg/dirdat/sa000001
2015-03-06 01:47:18.000000 RBA 3628
进程就会跳过该trail文件。
: