Database - Managing Multiuser Databases - Discussion
Discussion Forum : Managing Multiuser Databases - General Questions (Q.No. 7)
7.
The advantage of optimistic locking is that:
Discussion:
3 comments Page 1 of 1.
Anjuli said:
1 decade ago
Optimistic Locking is a strategy where you read a record, take note of a version number and check that the version hasn't changed before you write the record back. When you write the record back you filter the update on the version to make sure it's atomic. (i.e. Hasn't been updated between when you check the version and write the record to the disk) and update the version in one hit.
Shubham said:
8 years ago
Since after transaction, the timestamp/hash etc. Whichever is used, are changed, and are used as to filter out the updates, when committing.
Anjali said:
1 decade ago
What is optimistic lock?
Can anyone explain?
Can anyone explain?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers