Docsity

Transaction States: Active, Partially Committed, Committed, Failed, Aborted, Assignments of Database Management Systems (DBMS)

Toggle sidebar
bg1
DIFFERENT TRANSACTION STATES ARE:
Transaction states are- Active state, Partially committed state, Committed state, Failed state,
Aborted state, Terminated state.
1. Failed State:
When a transaction is getting executed in the active state or partially committed state
and some failure occurs due to which it becomes impossible to continue the execution, it
enters into a failed state.
2. Aborted State:
After the transaction has failed and entered into a failed state, all the changes made
by it have to be undone.
To undo the changes made by the transaction, it becomes necessary to roll back the
transaction.
After the transaction has rolled back completely, it enters into an aborted state.
3. Terminated State:
This is the last state in the life cycle of a transaction.
After entering the committed state or aborted state, the transaction finally enters into a
terminated state where its life cycle finally comes to an end.

Partial preview of the text

Download Transaction States: Active, Partially Committed, Committed, Failed, Aborted and more Assignments Database Management Systems (DBMS) in PDF only on Docsity!

DIFFERENT TRANSACTION STATES ARE:

Transaction states are- Active state, Partially committed state, Committed state, Failed state, Aborted state, Terminated state.

1. Failed State: When a transaction is getting executed in the active state or partially committed state and some failure occurs due to which it becomes impossible to continue the execution, it enters into a failed state. 2. Aborted State: After the transaction has failed and entered into a failed state, all the changes made by it have to be undone. To undo the changes made by the transaction, it becomes necessary to roll back the transaction. After the transaction has rolled back completely, it enters into an aborted state. 3. Terminated State : This is the last state in the life cycle of a transaction. After entering the committed state or aborted state, the transaction finally enters into a terminated state where its life cycle finally comes to an end.