





















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






















Concurrency Control Issues
DEALING WITH SHARED
UPDATE
(a.k.a CONCURRENT UPDATE)
1. Avoidance Approach (Do not allow users to perform a shared update!)
Can maintain a separate file of updates which will be run periodically to update the actual database.{Big problem with this is maintaining the “currency” of the database.}
Note that shared viewing is not problem, it is shared updates.
A record becomes LOCKED for a particular user if no other user may access it while it is locked..
Thus,if Tom’s access of Acme’s balance LOCKED that record, then Mary could not have done her update( and the resulting balance for Acme would have been correct.)
During a LOCK, any attempt by another user to access that record is rejected.Docsity.com