10 Database Recovery Techniques

Database Management System · Unit 10 · 3 hrs

Database Recovery Techniques

Exam-focused notes for Database Recovery Techniques (Database Management System, CSC265): what the TU syllabus asks and how it has actually been tested, with 5 solved past questions from this unit.

What this unit covers

  • Recovery Concepts
  • NO-UNDO/REDO Recovery Based on Deferred Update
  • Recovery Technique Based on Immediate Update
  • Shadow Paging
  • Database Backup and Recovery from Catastrophic Failures

Recovery Technique Based on Immediate Update

20805 marks

Why database recovery is essential? Explain recovery technique based on immediate update. [5]

Database recovery is essential due to the following reasons: - System Crashes and Failures: Hardware or software failures can occur in the middle of a transaction, leaving the database in an inconsistent state. - Transaction Errors: Incorrect command execut...

Full solved answer →
2080.15 marks

Why database recovery is essential? Explain recovery technique based on immediate update. [5]

Database recovery is essential due to the following reasons: - System Crashes and Failures: Hardware or software failures can occur in the middle of a transaction, leaving the database in an inconsistent state. - Transaction Errors: Incorrect command execut...

Full solved answer →

Recovery Concepts

20795 marks

What is Buffer Management in DBMS? Explain. [5]

Buffer Management refers to the process by which the DBMS manages a collection of in-memory buffers (called the DBMS cache) that temporarily hold disk pages (blocks) containing data items needed for processing. Since disk I/O is slow, the DBMS brings data i...

Full solved answer →
20785 marks

What is Checkpoints in database recovery? How does it help in database recovery? Explain. [5]

A checkpoint is a special type of entry written to the transaction log that acts as a bookmark or synchronization point in the database system. It is a mechanism where all previous log records are permanently stored to disk, and the DBMS declares a point be...

Full solved answer →
20765 marks

What are the different approaches of Database recover? What should log file maintain in log-based recovery? [5]

Database recovery techniques are methods used to restore the database to a correct consistent state after failures such as system crashes, transaction errors, viruses, or incorrect command execution. The main approaches are: --- A log (also called journal) ...

Full solved answer →