In Two-Phase Locking (2PL), what is the primary purpose of the shrinking phase?
-
A
Acquire locks
-
B
Release locks without acquiring new ones
Correct answer
-
C
Abort transaction
-
D
Commit transaction
Correct answer
B. Release locks without acquiring new ones
11 views
Explanation
In the shrinking phase, a transaction releases locks and cannot acquire new ones, ensuring serializability. Source: mcqsmind.com, Q7.
Reference
Asked in: FPSC,CSS,NTS,PPSC,PMS
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ