436 views
0 votes
0 votes
what is the difference between basic , conservative , strict and rigorous lock ?

1 Answer

Best answer
1 votes
1 votes
Basic: locking can be done only  at growing phase and unlocking at shrinking phase.  deadlock and cascading rollback possible.

Strict: Exclusive locks should be held until transaction commits + basic 2PL. Strict. Cascade less but deadlock problem.

Rigorous lock:  all locks should be held until transaction commits + basic 2PL. Strict. Cascade less but deadlock problem.

Conservative : Locks should be acquired before transaction start and should be held until transaction commits +  + basic 2PL. free from deadlock.
selected by

No related questions found