Why is strict or rigorous two-phase locking often preferred?
Answers
Answered by
1
Step 1 of 2
Variations two-phase locking protocol:-
According to the two-phase locking protocol, locks are handled by transactions and there are a number of variations of two-phase locking.
That is
(1) Conservative 2PL (or) static 2PL
It requires a transaction to lock all the items it access before the transaction beings execution by predeceasing its read-set and write-set, it is a deadlock-free protocol.
(2) Basic 2PL
This a one technique of 2PL and transaction locks data items incrementally. This may cause dead lock which is dealt with.
Variations two-phase locking protocol:-
According to the two-phase locking protocol, locks are handled by transactions and there are a number of variations of two-phase locking.
That is
(1) Conservative 2PL (or) static 2PL
It requires a transaction to lock all the items it access before the transaction beings execution by predeceasing its read-set and write-set, it is a deadlock-free protocol.
(2) Basic 2PL
This a one technique of 2PL and transaction locks data items incrementally. This may cause dead lock which is dealt with.
Answered by
1
Explanation:
ᴛʜɪs ɪs ᴛʜᴇ ᴍᴀɪɴ ᴘᴏɪɴᴛs......
Attachments:

Similar questions