Practice
Learn
← Quit
0 / 0 correct
Databases
Hard
1 of 367
What is two-phase locking (2PL)?
A
Transactions acquire locks in a growing phase and release them only in a shrinking phase, guaranteeing serializability
B
A distributed commit protocol
C
Locking a row twice
D
Locking reads and writes in two tables