Distributed Database Recovery and Security
Distributed Database Recovery and Security
nit
recovrymanagumunt tchniquu
Checkpoinhng
-record
Chackpaint ÀS a point in ime when the data is
written nto he dlatabae from the buffus.
Sn case of system arash, the recavery manaqur
Ldoenat have to rdo trand acthions that have been
carmmitted behre the checkpoint
Periodical checkpointng shortuns the recavry proce
To types ’ Conaistunt Checkpainting
Fuzy chaakpoinking
Consistunt oheckpointhing ’ creates a conaistent image
of the database at oheckpont
’ During ncovey only tranAachon to the night of
the ahckpoint are undone or aalon the ons
to the left nd not be pracled again
Example af checkpainhing
teeck time of checkpoining
terh tne of system crouh
Tranachons
Ta commits bafort checkpoint
Starts before oheck point , commiBs before system orah
starts afu sheakpa int, cammits before aystem crash
starts aft oheckpoint and ws achve at the time
of aystem orash.
Ta
Tranyachont
Te
teheck torsh
Aehion takun by rcovey managr
Nothingof Ta
Iransachion redo on
Transachon undo on Ta.
Data
Paga
Prepare phaie
Prepir to commit phade
-Commit /Abort phae
DISTRLBUTED DATA SECURITY’
Threats ina
in Data base