engineering recuitment RPSC Programmer Mock Test 2024 DBMS Concurrency Control Two Phase Locking Protocol
The rules for two phase locking protocols are
1
once a transaction releases a lock, it can’t acquire any new lock.
2
before reading an object, each transaction needs to get shared lock
3
before writing an object, each transaction needs to get exclusive lock
4
all of the above