Optimistic Concurrency and Pessimistic Concurrency
Optimistic Concurrency:
This is a solution to lost updates caused by Read Committed in multi-threaded applications. The problem is here:
So, here the update made by transaction A is permanently lost because the last commit wins in read committed.
Op...
bikash8848.hashnode.dev2 min read