An application consists of three transactions T1, T2, and T3 that are defined below: TI: begin transaction
Fantastic news! We've Found the answer you've been seeking!
Question:
An application consists of three transactions T1, T2, and T3 that are defined below:
TI: begin transaction
read(x); read(z); write(x-5); write(z+5);
end transaction
T2: begin transaction
Read(z); write(z-8); read(y); write(y +8);
end transaction
I3: begin transaction
read(x); write(x+4); read(y); write(y-4);
end transaction
Describe how the concurrency of these three transactions can be controlled by using the following:
- Same type of locks for both read and write operations
- Type-specific locks
- Intention-to-write locks
- Optimistic concurrency control scheme
- Timestamp-based concurrency control scheme
Related Book For
Posted Date: