AnsPrac8db05 - Page 1 24/12/2009 CP3020 Answer to Practice...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Page 1 24/12/2009 CP3020 Answer to Practice Week 8 17.14 Change transaction T 2 in Figure 17.2 (b) to read: read item(X); X := X+M; if X > 90 then exit else write_item(X); Discuss the final result of the different schedules in Figure 17.3 where M = 2 and N = 2, with respect to the following questions. Does adding the above condition change the final outcome? Does the outcome obey the implied consistency rule (that the capacity of X is 90)?   FIGURE 17.2 FIGURE 17.3 File: //home/vdimitrov/6057/e90e44193ecf7f83183a1e6df6a262583ab5d07c.doc School of Information Technology, James Cook University
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Page 2 24/12/2009 FIGURE 17.3 (continued) Answer: The above condition does not change the final outcome unless the initial value of X > 88. The outcome, however, does obey the implied consistency rule that X < 90, since the value of X is not updated if it becomes greater than 90. 17.17 List all possible schedules for transactions T 1 and T 2 from figure 17.2, and determine which are conflict serializable (correct) and which are not. Answer:
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/23/2009 for the course DBST 663 taught by Professor Tba during the Spring '09 term at MD University College.

Page1 / 3

AnsPrac8db05 - Page 1 24/12/2009 CP3020 Answer to Practice...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online