
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Explain check pointing in the transaction management system(DBMS)
Check point refers to a particular point of time. Searching the entire log is time-consuming. We unnecessarily redo transactions which have already output their updates to the database. So, we use check-point records in log files.
At the checkpoint the contents of the database are copied to some storage. That storage can be secondary storage like a hard disk or tertiary storage such as external hard-disk.
After every 10 minutes the database administrator will look after the period of check point.
Creation of check-points
Let’s see the steps how check-points are created how it is helpful in data storage during transactions −
Step 1 − scan backwards to find the most recent check-point record.
Step 2 − consider the most recent transaction Ti that started before the check-point.
Step 3 − Scan forward in the log:
If a transaction has <Ti commit> , perform redo(Ti)
If a transaction has no <Ti, commit> Perform undo(Ti).
Check-point is one of the techniques that is used to recover from failure. We all know that recovery means to get back the information, which is lost. It helps to maintain database consistency in case of failure.
Example
Given below is an example of check point −
Here,
- T1 can be ignored.
- T2 and T2 redone.
- T4 undone.
- Related Questions & Answers
- Database Management System (DBMS)
- What is transaction processing? Explain the properties of the transaction(DBMS)
- Construct an ER diagram for the Library management system(DBMS)?
- Explain serial execution or transaction with an example(DBMS)
- Explain parallel and distributed database management system
- Explain the concept of the traditional file system in DBMS?
- What is the basic purpose of a Database Management system(DBMS)?
- States of Transaction in DBMS
- Properties of Transaction in DBMS
- What do you mean by data base management system (dbms)?
- What are the states of transaction in DBMS?
- File System Management
- Explain the TCP Connection Management
- Explain the characteristics of DBMS?
- Explain the architecture of DBMS?