Redo Logging (cont)
Requirement for redo logging: write-ahead rule.
Data must be written to disk as follows:
-
<START> transaction log record
-
<UPDATE> log records indicating changes
-
<COMMIT> log record
- the changed data elements themselves
Note that update log records now contain <T,X,v'> ,
where v' is the new value for X .
|