[prev] 54 [next]

Undo Logging (cont)

Data must be written to disk in the following order:

  1. <START> transaction log record
  2. <UPDATE> log records indicating changes
  3. the changed data elements themselves
  4. <COMMIT> log record

Note: sufficient to have <T,X,v> output before X, for each X