user image

Gagan Mishra

Job Interview Skills
English
2 years ago

Question 414. What's Difference Between "optimistic" And "pessimistic" Locking?

user image

Abhishek Mishra

2 years ago

In pessimistic locking when user wants to update data it locks the record and till then no one can update data. Other user’s can only view the data when there is pessimistic locking. In optimistic locking multiple users can open the same record for updating, thus increase maximum concurrency.

Recent Doubts

Close [x]