Distributed DBMS Architectures
Distributed DBMS Architectures
Distributed DBMS Architectures
Architectural Models
Some of the common architectural models are
Transaction Operations
The low level operations performed in a transaction are
rollback A signal to specify that the transaction has been unsuccessful and so
all temporary changes in the database are undone. A committed transaction
cannot be rolled back.
Transaction States
A transaction may go through a subset of five states, active, partially
committed, committed, failed and aborted.
Active The initial state where the transaction enters is the active state. The
transaction remains in this state while it is executing read, write or other
operations.
Partially Committed The transaction enters this state after the last
statement of the transaction has been executed.
Failed The transaction goes from partially committed state or active state to
failed state when it is discovered that normal execution can no longer proceed
or system checks fail.
Aborted This is the state after the transaction has been rolled back after
failure and the database has been restored to its state that was before the
transaction began.
The following state transition diagram depicts the states in the transaction
and the low level transaction operations that causes change in states.