GoldenGate, Streams and Distributed Database (MOSC)

MOSC Banner

ora-0001 unique constraint error CDR routine?

edited Apr 3, 2014 12:00PM in GoldenGate, Streams and Distributed Database (MOSC) 5 commentsAnswered

we are doing bidirectional  replication  and  some time we are replicat is abend with i.e ora-0001 unique constraint error.

Java Program has written in such as way, initally it will looks for c2,c3 value, if the data is not available it will insert the data and if data is available it will update only C4 value.

And we set the sequence in odd/even fashion for avoiding the conflicts in replication. Due to load balancer, Sometime data is arriving both ends at same time with different value c4 and its treating with two different transactions instead of one and replication is  getting abend.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center