| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> updatable snapshot replication problem 10g (long)
I am trying to figure out how a particular situation comes about, so I can
prevent it.
It is a single-master updatable snapshot replication set-up. All updates are done on the subordinate machine and replicated to the master machine.
The database is for the entry and update of items. For creating a new item, the item number is taken from a control row on the subordinate machine; the new item is created and the "next item number" column in the control row is incremented. The item number is part of the primary key and an attempt to re-use it results in a primary-key uniqueness violation. Transactions are committed frequently, so the deferred transactions have from one to three calls in them, never more than three calls. A column in each table records the date and time of the most recent update of that row.
The situation I am trying to explain is the following:
We can presume that the communications between the subordinate and master box have been turned off for long periods of time and then reconnected, an unknown number of times. However, neither database instance has been stopped and restarted.
If I posit the following sequence containing an impossible event, I can make sense of it:
0) Subordinate system and master system are not connected.
Aside from the impossible event, this almost makes sense.
I do not have error-log entries to support this sequence. What I have is (for instance) messages on the subordinate box saying that posting a deferror encountered an inability to connect to the "target host" (ORA-12545). Or "Error 2068 trapped in 2PC on transaction ..." But the error messages do not reliably or obviously correlate with the data getting messed up. Received on Wed Dec 12 2007 - 18:31:22 CST
![]() |
![]() |