2
Bunny 10 Bunny 10 is due Monday, November 25th at 9AM Your username will be recorded when you submit this form. * Required 1. What is your course account? * Please enter your course account login. If your account is cs186aa, you'd enter cs186aa. 2. What are the last 4 digits of our SID * ARIES Recovery For all of the following questions, consider the log below. Assume that a CRASH occurs at the end of the log (after LSN 80). Transaction Log

Bunny 10 - Google Forms

Embed Size (px)

DESCRIPTION

UCLA CS 143Bunny quiz

Citation preview

  • Bunny10Bunny10isdueMonday,November25that9AM

    Yourusernamewillberecordedwhenyousubmitthisform.*Required

    1. Whatisyourcourseaccount?*Pleaseenteryourcourseaccountlogin.Ifyouraccountiscs186aa,you'dentercs186aa.

    2. Whatarethelast4digitsofourSID*

    ARIESRecovery

    Forallofthefollowingquestions,considerthelogbelow.AssumethataCRASHoccursattheendofthelog(afterLSN80).

    TransactionLog

  • Poweredby

    3. 1.IfourbuffermanagerisusingaFORCE/NOSTEALpolicy,whenmustthedatawrittenatLSN03beflushedtodisk?*(DonotassumeFORCE/NOSTEALforsubsequentquestions).Markonlyoneoval.

    afterLSN03,butbeforeLSN20

    afterLSN03,butbeforeLSN70

    afterLSN40,butbeforeLSN70

    anytimeafterLSN03

    anytimeafterLSN40

    4. 2.P2mustbeinthedirtypagetablewrittentotheENDCHECKPOINTrecordatLSN04*Markonlyoneoval.

    True

    False

    5. 3.Afteranalysis,whatwillthestatusofT2beinthetransactiontable?*Markonlyoneoval.

    Running

    Committing

    Aborting

    T2willnotbeinthetransactiontable

    6. 4.AssumethatP1isnotinthedirtypagetablewrittentotheENDCHECKPOINTrecordatLSN04.WhichLSNswillberedone?*Markonlyoneoval.

    AllupdatesandCLRsstartingwith01

    Allupdates(butnotCLRs)startingwith01

    AllupdatesandCLRsstartingwith03

    Allupdates(butnotCLRs)startingwith03

    AllupdatesandCLRsstartingwith10

    Allupdates(butnotCLRs)startingwith10

    7. 5.Whichupdatesand/orCLRswillbeundoneintheundophase?*Markonlyoneoval.

    80,60,30,20,10,03,01

    80,30,20,10,03,01

    80,60,10,01

    80,10,01

    Sendmeacopyofmyresponses.

    https://www.google.com/forms/about/?utm_source=product&utm_medium=forms_logo&utm_campaign=forms