Upload
shobhit-garg
View
8
Download
4
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