Databasefailureandrecovery 1 220127083557 (1)
Databasefailureandrecovery 1 220127083557 (1)
Recovery
Topics
Database Failures
Recovery Schemes:
transactions.
Database Failures
There can be a case in database system like any computer
system when database failure happens. When data base
fails then its difficult for users or machines to access the
data from data base and if data base failure is not dealt
efficiently then huge loss for organization can happen
because entire business process will stop.
database failure can be defined as inability of the system
to provide required functionality correctly. Database failure
can be resulted due to a variety of reasons such as disk-
crash, power failure, software error or even sabotage.
Classification of failure:
Transaction failure
System crash
Disk failure
Classification of failure
Transaction failure:
A transaction needs to abort once it
fails to execute or once it reaches to
any further extent from wherever it
can’t go to any extent further. This is
often known as transaction failure
wherever solely many transactions or
processes are hurt. The reasons for
transaction failure are:
Logical errors
System errors
Transaction failure:
Logical errors: Where a transaction cannot
complete as a result of its code error or an internal
error condition.
System errors: Wherever the information system
itself terminates an energetic transaction as a result
of the DBMS isn’t able to execute it, or it’s to prevent
due to some system condition. to Illustrate, just in
case of situation or resource inconvenience, the
system aborts an active transaction.
System crash:
of main memory.
Failures of media, such as head crashes or unreadable media that results in the loss of
failures.
Carelessness or unintentional destruction of data or directories by operators or users.
Damage or intentional corruption or hampering of data (using malicious software or files)