Ask Question
3 November, 08:09

What is dirty read and how can this be avoided?

+1
Answers (1)
  1. 3 November, 10:17
    0
    Answer and Explanation:

    Uncommitted dependency usually called as Dirty read can be explained as a situation in which a transaction reads the value from a row that has been modified by another uncommitted transaction, and is in running.

    Second transaction needs not necessarily be committed transaction in order for the initial query to return a varying result. This situation is similar to the non - repeatable reads.

    Out of order appearance of the levels in the results is the only thing in the isolation of the uncommitted read which can be prevented such that earlier updates will always show up first in the result.

    The dirty read can be avoided by the Read Committed isolation level of the four levels of SQL which ensures the non issuance of the shared (read) to any other transaction thus making it dirty read free.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “What is dirty read and how can this be avoided? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers