Consider the following interleaving of transactions T and U:
The outcome of optimistic concurrency control with backward validation is that T will be aborted because its read operation conflicts with U's write operation on ai, although the interleavings are serially equivalent. Suggest a modification to the algorithm that deals with such cases.
Keep ordered read sets for active transactions. When a transaction commits after passing its validation, note the fact in the read sets of all active transactions. For example, when U commits, note the fact in T’s read set.
Thus, T’s read set = {U commit, i}
Then the new validate procedure becomes:
You might also like to view...
Relational expressions cannot be used to compare operands.
Answer the following statement true (T) or false (F)
In SESAME, the user is first authenticated to an authentication server and receives a token. The token is then presented to a privilege attribute server as proof of identity to gain a(n) __________.
A. VPN B. ECMA C. ticket D. PAC
Input masks can restrict the number of characters allowed in a field.
Answer the following statement true (T) or false (F)
Why don’t most companies do full backup every night?
A. Full backups can't be restored. B. Full backups take a long time and thus companies usually only conduct full backups yearly. C. Full backups take a short time and thus companies usually only conduct full backups weekly. D. Full backups take a long time and thus companies usually only conduct full backups weekly