subject

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?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:50
You are working as a security analyst in a company xyz that owns the whole subnet range of 23.0.0.0/8 and 192.168.0.0/8. while monitoring the data, you find a high number of outbound connections. you see that ip's owned by xyz (internal) and private ip's are communicating to a single public ip. therefore, the internal ip's are sending data to the public ip. after further analysis, you find out that this public ip is a blacklisted ip, and the internal communicating devices are compromised. what kind of attack does the above scenario depict?
Answers: 3
question
Computers and Technology, 22.06.2019 11:00
Which action is good business etiquette? a. switching your cell phone off before you enter a meeting b. keeping your cell phone on low volume before you enter a meeting c. setting a pleasant ring tone on your cell phone before you enter a meeting d. setting a standard ringtone on your cell phone before you enter a meeting
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 3
question
Computers and Technology, 23.06.2019 12:00
Using the list, you can select the number of photos that will appear on each slide. a. theme b. frame shape c. pictures in album d. picture layout
Answers: 1
You know the right answer?
Exercise 18.2.1: Below are two transactions, described in terms of their effect on two database elem...
Questions
question
Mathematics, 10.09.2019 18:20
Questions on the website: 13722360