![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 16.04.2020 02:28, nsankey8032
Exercise 18.2.1: Below are two transactions, described in terms of their effect on two database elements A and B, which we may assume are integers. Ti: READ(A, t); t:= t+ 2 ; WRITE(A ,t) ; READ(B, t); t:= t* 3 ; WRITE(B, t); T2: READ(B, s); s:=s*2; WRITE(B, s); READ(A, s); s:=s+3; WRITE(A. s); 896 CHAPTER 18. CONCURRENCY CONTROL We assume that, whatever consistency constraints there are on the database, these transactions preserve them in isolation. Note that A = B is not the consistency constraint. a) It turns out that both serial orders have the same effect on the database; that is, (Ti ,T2) and (T2,T i) are equivalent. Demonstrate this fact by showing the effect of the two transactions on an arbitrary initial database state. b) Give examples of a serializable schedule and a nonserializable schedule of the 12 actions above. c) How many serial schedules of the 12 actions are there?
![answer](/tpl/images/cats/otvet.png)
Answers: 3
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 01:30, gabriieldelacruz16
What “old fashioned” features of checking accounts is p2p replacing
Answers: 3
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 06:40, euniceyi56
How many nibbles can be stored in a 16-bit word?
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 17:30, kenyasutton10
What are the most commonly found items in the trash according to the municipal solid waste report?
Answers: 1
Do you know the correct answer?
Exercise 18.2.1: Below are two transactions, described in terms of their effect on two database elem...
Questions in other subjects:
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/himiya.png)
Chemistry, 08.07.2019 18:50
![Konu](/tpl/images/cats/ekonomika.png)
Business, 08.07.2019 18:50
![Konu](/tpl/images/cats/istoriya.png)
History, 08.07.2019 18:50
![Konu](/tpl/images/cats/ekonomika.png)
![Konu](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 08.07.2019 18:50
![Konu](/tpl/images/cats/biologiya.png)
Biology, 08.07.2019 18:50
![Konu](/tpl/images/cats/obshestvoznanie.png)