Question: Consider database variables X and Y , initialized to 1 1 and 2 7 , respectively. Transaction T 1 reads X and writes its value
Consider database variables X and Y initialized to and respectively. Transaction T reads X and writes its value to Y Transaction T reads Y and writes its value to X What are the possible final results for X and Y after running T and T at the same time, under the following isolation policies:
Read Committed
Snapshot Isolation
Serializable
Assume that if any transaction is aborted, it will be run again to completion.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
