DB2 I/O Operations 113
Figure 37. Log Record Path to Disk
Figure 38. Two-Phase Commit with Dual Active Logs
APPLICATION
PROGRAM
Log Record
Log Output Buffer
Active
Log
Data set
ASYNC
SYNC
NOWAIT
FORCE
I/O I/O
I/O
I/O
Force
End of Phase 1
Force
Beginning of Phase 2
End of COMMIT
Log 1
Log 2
Application waiting
for logging
Application waiting
for logging