[prev] 61 [next]

Redo Logging (cont)

Requirement for redo logging: write-ahead rule.

Data must be written to disk as follows:

  1. start transaction log record
  2. update log records indicating changes
  3. then commit log record (OUTPUT)
  4. then OUTPUT changed data elements themselves

Note that update log records now contain <T,X,v'>,
where v' is the new value for X.