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

Which data type can store unstructured data, Which data type can store unst...

Which data type can store unstructured data? Raw data type can store unstructured data.

Explain composite attribute in sql, Explain Composite attribute in SQL ? ...

Explain Composite attribute in SQL ? Composite attribute: A composite attribute has many components, each of that is atomic or composite.

ER diagram, Construct a clean ans concise ER diagram for the database indic...

Construct a clean ans concise ER diagram for the database indicating the cardinality mapping for Employee management syatem

Explain physical and logical independence, Define Physical and Logical inde...

Define Physical and Logical independence  Ans: Physical data independence: The ability to modify physical level without causing application program to be rewritten. Logic

How relational calculus is different from relational algebra, How Relationa...

How Relational Calculus is different from Relational Algebra? What do understand by TRC queries and DRC queries?  Ans: Relational calculus contain two calculi, the tuple relati

Discuss on transmission impairments, Question 1 Discuss on transmission im...

Question 1 Discuss on transmission impairments Question 2 What is framing? Question 3 Write a note on 10Base2 10Base- T Question 4 Explain the rev

What are the objectives of query processing, What are the objectives of que...

What are the objectives of query processing?       Ans: The objectives of query processing is to transform a query written in a high level language into a accurate and efficien

BCA, Ask qu. Write a XML with database with book details (Book ID, Title, A...

Ask qu. Write a XML with database with book details (Book ID, Title, Author, subject, published year, language, vendor, and price).estion #Minimum 100 words accepted#

Describe sequential file organization, Describe sequential file organizatio...

Describe sequential file organization.  Explain the rules for (i)  Inserting a new record. (ii)  Deleting an existing record.          Ans:A sequential f

What are the two main goals of parallelism, What are the two main goals of ...

What are the two main goals of parallelism? Load -balance multiple small accesses, so that the  throughput of such accesses enhances. Parallelize large accesses so that the res

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