ProAnswers.org

Explain two phase locking?

All the locking operations must precede the first unlock operation in the transaction .It does have two phases:

  1. expanding phase (Locks are issued)

  2. Shrinking phase (Locks are released)