Replicat Fails with FK Errors (WARNING OGG-00869 OCI Error ORA-02291/ ORA-02292) When Using HANDLETPKUPDATE and DBOPTIONS DEFERREFCONST (Doc ID 1527910.1)

Last updated on MAY 20, 2016

Applies to:

Oracle GoldenGate - Version 11.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Replicat fails with FK errors (WARNING OGG-00869  OCI Error ORA-02291/ ORA-02292) when using HANDLETPKUPDATE and DBOPTIONS DEFERREFCONST

2013-01-05 12:57:41  WARNING OGG-00869  OCI Error ORA-02291: integrity
constraint (HR.CHILD_FK) violated - parent key not found (status = 2291).
INSERT /*+ RESTRICT_ALL_REF_CONS */ INTO "HR"."CHILD" ("SERIAL","NAME","DEPT") VALUES (:a0,:a1,:a2).

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