IBM 000-8697 Manuel d'utilisateur Page 670

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 702
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 669
9-50 IBM Informix OnLine Database Server Administrator’s Guide
Two-Phase Commit and Logical Log Records
Heuristic End-Transaction Records
Figure 9-12 illustrates the writing sequence of the logical log records during
aheuristicend-transaction.Theeventisalwaystheresultofanadministrator
executing tbmode -Zat a participantOnLine database serverafter the partic-
ipant has senta message: “cancommit.” (Refer topage 9-40for adescription
ofaheuristicend-transaction.)InFigure 9-12,theheuristicend-transactionis
assumed to have occurred at the P1 participant.
Important: The transaction is inconsistently implemented.
Figure 9-12
Writes of
logical log records
during a heuristic
end-
transaction
All Participants:
Writes log record: TABLOCKS.
Writes and flushes log record: PREPARE.
Sends message: “commit ok.”
Coordinator:
Writes log record: BEGPREP.
Sends message: “precommit.”
P1 Participant:
Sends message: “Transaction status unknown.”
Coordinator:
Writes and flushes log record: COMMIT.
Sends message: “commit.”
Within P1 Participant’s Environment:
tbmode -Z is executed.
Writes log record: ROLLBACK.
Writes log record: ENDTRANS.
Message is written in OnLine message log.
Start Protocol
Transaction is
inconsistently implemented
Coordinator:
Assumes “unknown” status means “committed.”
Writes log record: ENDTRANS.
P2 and P3 Participants:
Send message: “committed.”
C
P1
C
P2 P3
P1 P2 P3
C
Vue de la page 669
1 2 ... 665 666 667 668 669 670 671 672 673 674 675 ... 701 702

Commentaires sur ces manuels

Pas de commentaire