OGG For Oracle To Postgres's Replication Results Data Loss. (Doc ID 2205798.1)

Last updated on JANUARY 13, 2017

Applies to:

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

Symptoms

Data loss from Oracle to Postgre's replication.Error symptom :

2016-09-12 20:09:58 HKT:(9433):ggmgr@cms:[10665]: LOG: execute
ST32EFB30/ST32EFB30: INSERT INTO "ggmgr"."testb" ("id","name") VALUES ($1,$2)
2016-09-12 20:09:58 HKT:(9433):ggmgr@cms:[10665]: DETAIL:
parameters: $1 = '1', $2 = 'hehe'
2016-09-12 20:09:58 HKT:(9433):ggmgr@cms:[10665]: LOG: execute
ST32F9180/ST32F9180: UPDATE "ggmgr"."testb" SET "name" = $1 WHERE "id" = $2
2016-09-12 20:09:58 HKT:(9433):ggmgr@cms:[10665]: DETAIL:
parameters: $1 = 'yy', $2 = '1'
2016-09-12 20:09:58 HKT:(9433):ggmgr@cms:[10665]: LOG: execute
ST32EFB30/ST32EFB30: INSERT INTO "ggmgr"."testb" ("id","name") VALUES ($1,$2)
2016-09-12 20:09:58 HKT:(9433):ggmgr@cms:[10665]: DETAIL:
parameters: $1 = '2', $2 = 'xiao'
2016-09-12 20:09:58 HKT:(9433):ggmgr@cms:[10665]: ERROR:
duplicate key value violates unique constraint "testb_pkey"
2016-09-12 20:09:58 HKT:(9433):ggmgr@cms:[10665]: DETAIL: Key
(id)=(2) already exists.
2016-09-12 20:09:58 HKT:(9433):ggmgr@cms:[10665]: STATEMENT:
INSERT INTO "ggmgr"."testb" ("id","name") VALUES ($1,$2)
2016-09-12 20:09:58 HKT:(9433):ggmgr@cms:[10665]: LOG:
statement: ROLLBACK

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