Professional Documents
Culture Documents
DBMS
DBMS
It must also have atomicity i.e. either transaction are completed successfully and
committed (the effect is recorded permanently in the database) or the transaction
should have no effect on the database. There are both automatic and non-automatic
ways for both, backing up of data and recovery from any failure situations.
The techniques used to recover the lost data due to system crashes,
transaction errors, viruses, catastrophic failure, incorrect commands
execution, etc. are database recovery techniques.
System failure :
‒ affects all transactions currently in progress but does not
physically damage the data
The non-volatile memory does not get affected in a system crash
It causes the loss of the content of volatile storage and
brings transaction processing to a halt. These types of failures are
often termed soft failures and are responsible for the data losses in
the volatile memory.
The assumption that hardware errors and bugs bring the
system to a halt, but do not corrupt the nonvolatile storage contents
is known as the Fail Stop Assumption.
TRANSACTION
FAILURE
If a transaction is not able to execute or it comes to a point from where the
transaction becomes incapable of executing further then it is termed as a failure
in a transaction. It is further classified into two types:
a. Logical Error
b. System error
Logical Error