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

Discussion

The lost update problem is when User A reads data that have been processed by a portion of a transaction from User B.

  • A.True
  • B.False

Answer: B

Correct answer: False

What is described is a dirty read - seeing data from a transaction that is only part way through. The lost update problem is different: two transactions each read the same value, each compute a new one from it, and each write back, so the second silently destroys the first. Resource locking exists to prevent it.

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

Post your comment

Please log in or register to post a comment.