Log must occur before saying commit rule 2 output to

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: hen a new checkpoint starts, keep track of ac-ve transac-ons ac-ve transac-ons are non commiIed ones (transac-ons I want to complete) Push ac-ve transac-ons to complete; when they are done we can end checkpoint “end checkpoin-ng” means everything has been wriIen to disk by “start checkpoin-ng”, so you only have to scan to “start checkpoin-ng” if error occurs aXer “end checkpoin-ng”. If an error occurs before “end checkpoin-ng”, you have to go back to the start of ac-ve transac-ons in “start checkpoin-ng” and undo them Redo •  •  •  •  •  •  Keep log of “start” of transac-on, when it is “commiIed”, if it is “aborted”, and that it has changed element X to new value v Rule 1. log must occur before...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online