1.

To prevent the phantom phenomenon, _______ is used(a) Key value locking(b) Next key locking(c) Previous key locking(d) None of the mentionedThe question was asked in unit test.My question comes from Insert, Delete Operations and Predicate Reads in chapter Concurrency Control of RDBMS

Answer»

Right option is (B) Next key locking

The explanation is: The failure of a system to PREVENT a non SERIALIZED tuple when two transactions CONFLICT with each other is called as phantom phenomenon. To prevent the phantom phenomenon, the next key locking is used.



Discussion

No Comment Found

Related InterviewSolutions