DOC PREVIEW
MIT 6 033 - Lecture Notes

This preview shows page 1-2-3-4 out of 12 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 12 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

AtomicityRecoveryIsolationSerializability:Action GraphLocks:Isolation:Two-phase locking (2 PL)MIT OpenCourseWarehttp://ocw.mit.edu 6.033 Computer System Engineering Spring 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.AtomicityRec.sectorIsolationVer. hist.ABORT(undo)RecoverabilityLogging(WAL)Cache DBLogfailuresAppRecovery1) Undo2) Redo1) Scan log backwards2) Winners = C + A3) Losers:4) Redo C winners + undo losers.Isolation 1) read x 2) write x 3) write y 4) write ySerializability:Trace’s conflict arrow in same order as some serial order of actionsT1T4T3T2T1T1T4T3T2T2T3T3T1T2T4T2Locks:acq lxr1(x)rel lxacq lyw1(y)rel lyacq lxw2(x)acq lyw2(y)rel lxrel lyacq (lock of x)rel ( ” )1234Isolation:acq lxacq lySimple lockingTwo-phase locking (2 PL)acq lxr xacq lyr yNo release before ALL acquiresCorrectT2T1T3Tkx1x2xkrel l1acq l1rel l2acq l2acq lk-1rel lkacq


View Full Document

MIT 6 033 - Lecture Notes

Documents in this Course
TRIPLET

TRIPLET

12 pages

End Layer

End Layer

11 pages

Quiz 1

Quiz 1

4 pages

Threads

Threads

18 pages

Quiz I

Quiz I

15 pages

Atomicity

Atomicity

10 pages

QUIZ I

QUIZ I

7 pages

Load more
Download Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?