Science, asked by TbiaSamishta, 1 year ago

identify the type of lock acquire/release rules in growing phase in two phase locking protocol

Answers

Answered by aqibkincsem
0

The Two Phase Locking Protocol is a method for concurrency control that guarantees serializability.

The locks are applied and removed in two phases in the two-phase locking Protocol.

In the expanding phase, the locks are getting acquired and the locks are not released.

On the other hand, in the shrinking phase the locks are getting released and locks are not acquired.

Answered by ItzUnic0rns
53

The Two-Phase Locking protocol allows each transaction to make a lock or unlock request in two steps:

  • Growing Phase: In this phase  transaction may obtain locks but may not release any locks.

  • Shrinking Phase: In this phase, a transaction may release locks but not obtain any new lock.
Similar questions