Top

Which of the following is not a proper state of transaction?

Share:

Which of the following is not a proper state of a transaction?

A. Partially Aborted
B. Partially Committed
C. Aborted
D. Committed
Answer: A. Partially Aborted

A transaction is a collection of instructions (or operations) that perform a single logical function.
  1. A transaction is a very small unit of a program and it may contain several low-level tasks.
  2. A transaction in a database system must maintain Atomicity, Consistency, Isolation, and Durability − commonly known as ACID properties − in order to ensure accuracy, completeness, and data integrity.
Commit/Abort
  • A commit is a final step in the successful completion of a previously started database change as part of handling a transaction in a computing system.
  • Until commit, all the individual operations that make up the transaction are pending
  • At any point, before the transaction is committed, it might also be aborted
  • If a transaction is aborted, the system will undo or rollback the effects of any individual operations which have completed.
  • If an transaction is performed in a database and committed, the changes cannot take to the previous state of transaction.
The transaction states are abort, active, committed, partially committed, Failed.
Partially Committed
  • When a transaction executes its final operation, it is said to be in a partially committed state.

Failed
  • A transaction is said to be in a failed state if any of the checks made by the database recovery system fails.

No comments