0% found this document useful (0 votes)
440 views2 pages

Failure Classification in DBMS

The document categorizes database management system failures into three types: transaction failure, disk failure, and system crash. Transaction failure occurs when a transaction cannot execute or progress further. Disk failure is due to hard disk or storage drive issues. System crash results from power outages or software/hardware problems.

Uploaded by

Palak Rathore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
440 views2 pages

Failure Classification in DBMS

The document categorizes database management system failures into three types: transaction failure, disk failure, and system crash. Transaction failure occurs when a transaction cannot execute or progress further. Disk failure is due to hard disk or storage drive issues. System crash results from power outages or software/hardware problems.

Uploaded by

Palak Rathore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Failure Classification in DBMS

A failure in DBMS is categorized into the following three classifications to ease the process of
determining the exact nature of the problem:

1. Transaction failure
2. Disk failure
3. System crash
Types of failure

 Transaction failure
A failure in transaction occurs when the transaction is unable to execute or if it reaches a point
from where the execution cannot proceed any further. If two or more operations are hampered,
then a transaction failure takes place.

The transaction failure occurs when it fails to execute or when it reaches a point from
where it can't go any further. If a few transaction or process is hurt, then this is called as
transaction failure.

Reasons for a transaction failure could be -

1. Logical errors: If a transaction cannot complete due to some code error or an


internal error condition, then the logical error occurs.
2. Syntax error: It occurs where the DBMS itself terminates an active transaction
because the database system is not able to execute it. For example, The system
aborts an active transaction, in case of deadlock or resource unavailability.

 Disk failure
Disk failure occurs due to frequent failure of hard disks and storage drives.
Few reasons for disk failure are the formation of damaged sectors, head crash, unreachability,
and destruction of the disk.

o It occurs where hard-disk drives or storage drives used to fail frequently. It was a
common problem in the early days of technology evolution.
o Disk failure occurs due to the formation of bad sectors, disk head crash, and
unreachability to the disk or any other failure, which destroy all or part of disk storage.

 System crash
Power cuts and failure in software and hardware causes a system crash, for instance, OS crash.

The non-volatile memory does not get affected in a system crash (Fail-stop assumption).

System failure can occur due to power failure or other hardware or software
failure. Example: Operating system error.

Fail-stop assumption: In the system crash, non-volatile storage is assumed not to be corrupted.

You might also like