
9-52 IBM Informix OnLine Database Server Administrator’s Guide
Determining Database Consistency
Step 1: Determine Where a Heuristic Decision Occurred
There are a number of ways for you to determine the specific OnLine partic-
ipants affected bya heuristic decisionto either roll back or end a transaction:
■ Examine the return code from the COMMIT WORK statement.
■ Examine the messages in the OnLine message log file for each
participant.
■ Examine the tblog output for each participant.
Each of these options is addressed in the paragraphs that follow.
Two error messages indicate that database inconsistency is possible because
of a heuristic decision at a participating OnLine:
■ -698 Inconsistent transaction. Number and names of
servers rolled back.
■ -716 Possible inconsistent transaction. Unknown servers
are ...
If a database inconsistency is possible because of a heuristic decision at a
participating OnLine, one of the following messages appears in the OnLine
message log file:
■ Mixed transaction result. (pid=nn
user=user_id)
Thismessageiswritten whenevererror-698isreturned.Associatedwiththis
message is a list of the OnLine database servers where the transaction was
rolledback. Thisis thecomplete list.The list that appears with the -698 error
message could be truncated if a large number of participants rolled back the
transaction.
■ Possible mixed transaction result.
Thismessageiswritten whenevererror-716isreturned.Associatedwiththis
message isa list of the OnLine database serverswhere the resultof the trans-
actionisunknown.(You mustdetermineifthetransactionwascommittedor
rolled back at each of these OnLine database servers. To do this, read the
logical log at each participant OnLine.)
If a database inconsistency is possible because of a heuristic decision at a
participatingOnLine,aHEURTXlogrecordappearsintheOnLinelogicallog.
Comentarios a estos manuales