血的教訓---ogg一定要用最新的版本,血的教訓---ogg要用
This could be a Bug 19517566 - IE EXTRACT ABEND WITH OGG-01161 BAD COLUMN INDEX relating to the extract where the extract was still resolving the old metadata and having the excluded column as a part of the key column.
I have tried this is on my machine with OGG binaries on 11.2.1.0.27 and did the same steps which you have done on dropping one of the primary key and adding new set of primary key and my extract resolved correctly.
Here is the below snippet of my test:
***********************************************************************
Oracle GoldenGate Capture for Oracle
Version 11.2.1.0.27 19591627 OGGCORE_11.2.1.0.0OGGBP_PLATFORMS_141006.1156_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Oct 6 2014 16:57:47
Copyright (C) 1995, 2014, Oracle and/or its affiliates. All rights reserved.
Starting at 2014-11-25 19:06:17
***********************************************************************
可以看到:OGG for Oracle db 11G Version 11.2.1.0.27 是Oct 6 2014 16:57:47編譯完成的。。。
失算了,上次(2014年11月份)ogg上線,沒有用最新的ogg版本,導致現在ogg出現bug,進rep進程abend。
至於ogg 11.2.x 升級到ogg 11.2.y版本的升級指導,請見如下的文章:
How To Upgrade Goldengate From 11.2.1.x to 11.2.1.y for Oracle Database Doc ID 1601971.1