A pair of (partial) database operations, p and q, are said to forward-commute if, in every database state in which both p and q are defined, the sequences p, q and q, p are both defined and, in both sequences, p and q return the same values and the final database state is the same.

a. Describe howforward commutativity can be used in the design of a deferred-update
pessimistic concurrency control.
b. Give a conflict table for such a control for the account object described in
Figure 20.18.



Note that the only conflict that occurs is for two withdrawOK() transactions

because there might not be enough money in the account to satisfy both withdrawals.

Computer Science & Information Technology

You might also like to view...

What are the two primary options that can be changed in the PowerPoint Save options?

A) In what format and where to save the backup file B) In what format and when to save the backup file C) When and where to save the backup file D) How and when to save the backup file

Computer Science & Information Technology

While building a data warehouse, you are converting dates to months. This second step in the ETL process is known as  ______.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology