Question
Two-phase locking defines how transactions acquire and relinquish locks.
A. True B. False
A. True B. False
Answers
Answered by
GPT-4o mini
A. True
Two-phase locking (2PL) is a concurrency control mechanism used in database management systems to ensure isolation between transactions. It specifies that transactions acquire locks in a growing phase and relinquish them in a shrinking phase.
Two-phase locking (2PL) is a concurrency control mechanism used in database management systems to ensure isolation between transactions. It specifies that transactions acquire locks in a growing phase and relinquish them in a shrinking phase.