GET ADMISSION in any stream CONTACT :: Mr. JAYDEEP MEHTA :: CONTACT NO :: 9228217183
Get & share knowledge with us... Be a part of GTU-MATERIAL. send study Material at gtumca1@gmail.com with your Name - College name...

Thursday, February 17, 2011

Log Based Recovery

  • The most widely used structure for recording database modification is the log.
  • The log is a sequence of log records, recording all the update activities in the database.
  • In short Transaction log is a journal, which contains history of all transaction performed.
  • Log contains Start of transaction, trans-id, record-id, type of operation (insert, update, delete), old value, new value, End of transaction that is commit or aborted.

Techniques for recovery
Log Based Crash Recovery
o Deferred update
Complete -> update
o Immediate update
Change -> update
o Checkpoints
Shadow Paging

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More