Explain recovery process after system failure, Database Management System

Assignment Help:

Explain recovery process after system failure using checkpoint.

Ans: Checkpoint scheme or method is an extra component of the log based recovery system. This scheme is used to limit the volume of log information which has to be handled and processed in the event of a system failure including the loss of volatile data. The checkpoint operation is carried out periodically copies log information onto the stable storage. 

At every checkpoint, subsequent information is kept.

a. A start-of-checkpoint record that provides the identification that it is a checkpoint. 

b. Each and every log information from the buffers in the volatile storage is copied to the log on stable storage. 

c. All database updates from the buffers in the volatile storage are propagated to physical database. 

d. An end-of-checkpoint record is written and the address of the checkpoint record is saved on a file accessible to the recovery routine on start-up after a system crash.   

While failure do occur, it is often possible to resume processing from the most current checkpoint. All transactions which were saved before the checkpoint time need not be referred for the recovery operation. All transactions which were started before the checkpoint time but were not committed at that time are placed in an undo list that is a list of transactions to be undone. 

Now here is the recovery system scans the log in a backward direction from the time of the system crash. If it finds out that a transaction in the undo list has committed, that transaction is removed from the undo list and placed in the REDO list, which consists of all the transactions that have to be redone. So a system crash occurring during the checkpoint operation needs recovery to be done using the most current previous checkpoint.


Related Discussions:- Explain recovery process after system failure

Disadvantages or unsecure, In Database software have only pure security or ...

In Database software have only pure security or some dis secured by administrator?

Define null value, Define NULL value NULL value NULL means something is...

Define NULL value NULL value NULL means something is unknown. It does NOT mean null (the digit 0). Null is as well employed as attribute value for a particular entity in which

Write the sql code, Express the following queries in SQL: (a) Write the...

Express the following queries in SQL: (a) Write the SQL code that will create ALL the four tables given in the appendix. Your answer should not contain the primary key and

Dependency preservation, Dependency Preservation It is obvious that the...

Dependency Preservation It is obvious that the decomposition must be lossless so that we do not lose any information from the relation that is decomposed. Dependency preservati

Project, write a database program for concurrency transaction in a bank

write a database program for concurrency transaction in a bank

Computer, 1. Will you advise that your organization uses open source softwa...

1. Will you advise that your organization uses open source software and why? 2. Why is it important for business managers to have a basic understanding of the software development

Data replication, Data Replication "If a relation R has its copies kept...

Data Replication "If a relation R has its copies kept at two or more sites, then it is considered replicated". But why do we replicate a relation? There are several advan

Explain the concept of data mining, Question 1 Explain the concept of Fore...

Question 1 Explain the concept of Foreign Key. How a foreign key differs from a Primary Key? Can the Foreign Key accept nulls? Question 2 With a necessary example explain (i)

Entity relationship diagram, Ask questApollo Hospitals (AH) is a popular me...

Ask questApollo Hospitals (AH) is a popular medical service provider in Oman. AH wants to automate its business functions into an information system. The proposed information syst

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd