Transaction Analysis, Evaluation, and Comparison

A transaction follows the two-phase locking (2PL) protocol if all locking operations (read_lock, write_lock) precede the first unlock operation in the transaction.Such a transaction can be divided into two phases: an expanding or growing (first) phase, during which...