next up previous
Next: Undo Pass Up: RESTART PROCESSING Previous: Analysis Pass

Redo Pass

The RedoLSN and the dirty-pages table supplied by the analysis pass are inputs to this routine. It starts scanning the log records from the RedoLSN point. For a redoable log record , a check is made to see if the referenced page appears in the dirty-pages table. If it does and if the log records LSN is greater than or equal to the RecLSN for the page in the table , then the page is accessed. If the page's LSN is found to be less than the log record's LSN, then the update is redone. Thus , RecLSN limits the number of pages which have to be examined.



Vinay V
Mon Apr 12 18:36:08 IST 1999