The banking system described at the end of Section 22.1 can be structured either as a single transaction (with a savepoint after posting interest to each group of 1000 accounts) or as a chained transaction (with a commit point after posting interest to each group of 1000 accounts). Explain the differences in semantics between the two implementations. State when the printing of account statements takes place in each.
What will be an ideal response?
For the savepoint implementation, printing takes place at the end. Either all account
statements are printed or none. For the chain implementation, printing can take place
at the end of each subtransaction in the chain.
If system crashes during execution: in the savepoint implementation, all work will
be lost. In the chain implementation some account statements will have been printed
and the system can continue where it left off.
You might also like to view...
Which of the following is the most common color model for video?
A. RGB B. HSV C. CIE XYZ D. luminance-chrominance
To move a text box label, what action must you take?
A) Click the Tabular Layout in the Table group of the Arrange tab while both the label and text box controls are selected. B) Click the Tabular Layout in the Arrange group when the label is selected. C) Click the Tabular Layout in the Arrange group when the text box is selected. D) Click the Tabular Layout in the Arrange group of the Table group while the label and text box are selected.
Virtually every branch of science and engineering makes use of ____________________.
Fill in the blank(s) with the appropriate word(s).
C is a(n) ____ language.
A. interpreted B. machine C. object-oriented D. structured