Why OGG Warns me "No unique key is defined" When There Is A PK For The Table (Doc ID 1345152.1)

Last updated on JANUARY 12, 2017

Applies to:

Oracle GoldenGate - Version 10.4.0.84 to 11.1.1.1.9 [Release 10.4.0 to 11.1.1.1]
Information in this document applies to any platform.
**Checked for relevance on 20-06-2014**

Symptoms

When trying to add trandata, GG reports the following warning message

GGSCI> add trandata sh.products

2011-08-03 14:57:20 WARNING OGG-00869 Oracle GoldenGate Command Interpreter for Oracle: No unique key is defined for table PRODUCTS. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.


But I can see there is a primary key 'PRODUCTS_PK' defined for table sh.products.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms