Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which of the following occurs when a transaction rereads data it has previously read and finds modification or deletions caused by a committed transaction?

  • A.Nonrepeatable read
  • B.Phantom read
  • C.Dirty read
  • D.Consistent read

Answer: A

Correct answer: Nonrepeatable read

A non-repeatable read occurs when a transaction reads a row, another transaction modifies or deletes it and commits, and the first transaction reads it again and sees something different. The remedy is the repeatable-read isolation level, which holds read locks to the end of the transaction.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.