Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Table R (A) contains records {1,2,3}. The following movements are simultaneously they are working. T1: update R set A = 2 * A; COMMIT; T2:
Table R (A) contains records {1,2,3}. The following movements are simultaneously they are working.
T1: "update R set A = 2 * A; COMMIT;"
T2: "select SUM (A) from R; COMMIT;"
T3: "select SUM (A) as c from R; select AVG (A) as a from R; COMMIT; "
a) T1 can be graded; If T2 is in "read uncommitted" isolation; What values can T2 end with?
b) T1 can be graded; If T3 is "read committed" insulation; What binary values (c, a) can T3 end with?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started