Question: Task 4 ( 3 marks ) Processing database transactions at READ COMMITTED isolation level Consider the following anonymous P L p g S Q L
Task marks
Processing database transactions at READ COMMITTED isolation level
Consider the following anonymous block implementing a database transaction T mark
Show a sample concurrent execution of a database transaction together with another database transaction such that a transaction T displays an incorrect result. When visualizing a concurrent execution use a technique of twodimensional diagrams presented to you during the lecture classes, for example, see a presentation Transaction Processing in PostgreSQL slide
mark
Explain all details on why a concurrent execution of a transaction T with another transaction may contribute to incorrect results displayed by a transaction
mark
Explain how the anonymous block listed above and processed as a transaction T at READ COMMITTED isolation level should be changed to always get the correct results.
Remember that after your modifications a transaction T still must be processed at READ COMMITTED isolation level and locking of entire relational table is unacceptable solution.
When visualizing a concurrent execution use a technique of twodimensional diagrams presented to you during the lecture classes, for example, see a presentation Transaction Processing in PostgreSQL slide
Deliverables
A file solutionpdf with the solutions of the problems and included in Task
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
