Consider the recovery aspects of the nested transactions. Assume that a withdraw transaction will abort if the account will be overdrawn and that in this case the parent transaction will also abort. Describe serially equivalent interleavings of T1, T2, U1 and U2 with the following properties:
(i) that is strict;
(ii) that is not strict.
To what extent does the criterion of strictness reduce the potential concurrency gain of nested transactions?
If a child transaction’s abort can cause the parent to abort, with the effect that the other children abort, then strict executions must delay reads and writes until all the relations (siblings and ancestors) of transactions that have previously written the same objects are either committed or aborted. Our deposit and withdraw operations read and then write the balances.
i) For strict executions serially equivalent to T1; T2; U1; U2 we note that T2 has written B. We then delay U2’s deposit until after the commit of T2 and its sibling T1. The following is an example of such an interleaving:
ii) Discusses all possible serially equivalent executions. They are non-strict if they do not obey the constraints discussed in part (i).
The criterion of strictness does not in any way reduce the possible concurrency between siblings (e.g. T1 and T2). It does make unrelated transactions wait for entire families to commit instead of single members with which it is in conflict over access to a data item.
You might also like to view...
What is the best reason to add your user name and initials to PowerPoint options?
A) To identify yourself when you work with others on presentations B) To provide this information to Microsoft C) To acquire discounts on the next version of Microsoft Office D) It is required at installation.
Logical operators must be used in order to combine two or more conditions in a query. ____________________
Answer the following statement true (T) or false (F)
A command that joins selected cells in an Excel worksheet into one larger cell and centers the contents in the merged cell:
What will be an ideal response?
A technician wants to connect a new wireless router to a main network switch. Which of the following cable types would MOST likely be used to establish this connection?
A. Telephone B. Parallel C. Serial D. CAT6