MCQ · 2 marks · Transactions
GATE CS 2016 CS-1 — Q51
Consider the following two phase locking protocol. Suppose a transaction T accesses (for read or write operations), a certain set of objects . This is done in the following manner:
Step 1. T acquires exclusive locks to in increasing order of their addresses.
Step 2. The required operations are performed.
Step 3. All locks are released.
This protocol will
Step 1. T acquires exclusive locks to in increasing order of their addresses.
Step 2. The required operations are performed.
Step 3. All locks are released.
This protocol will