Suppose that in addition to the operations read and write, we allow an operation pred read(r, P), which reads all tuples in relation r that satisfy predicate P. a. Give an example of a schedule using...








Suppose that in addition to the operations read and write, we allow an operation
pred read(r, P), which reads all tuples in relation r that satisfy predicate
P.
a. Give an example of a schedule using the pred read operation that exhibits
the phantom phenomenon and is nonserializable as a result.
b. Give an example of a schedule where one transaction uses the
pred read operation on relation r and another concurrent transaction
deletes a tuple from r, but the schedule does not exhibit a phantom conflict.
(To do so, you have to give the schema of relation r and show the
attribute values of the deleted tuple.)


Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here