Write–read conflict
In computer science, in the field of databases, write–read conflict (also known as reading uncommitted data and dirty read), is a computational anomaly associated with interleaved execution of transactions.[src] Specifically, a write–read conflict occurs when "a transaction requests to write an entity, for which an unclosed transaction has already made a read request." Given a schedule S : S = \begin{bmatrix} T1 & T2 \\ R(A) & \\ W(A) & \\ & R(A) \\ & W(A)\\ & R(B) \\ & W(B) \\ & Com.[src] \\ R(B) & \\ W(B) & \\ Com.[src] & \end{bmatrix} T2 could read a database object A, modified by T1 which hasn't committed.[src] This is a dirty or inconsistent read.[src] T1 may write some value into A which makes the database inconsistent.[src] It is possible that interleaved execution can expose this inconsistency and lead to an inconsistent final database state, violating ACID rules.[src] Strict 2PL overcomes this inconsistency by locking T2 out from performing a Read/Write on A.[src] Note however that Strict 2PL can have a number of drawbacks, such as the possibility of deadlocks.[src]
In computer science, in the field of databases, write–read conflict (also known as reading uncommitted data and dirty read), is a computational anomaly associated with interleaved execution of transactions.[src] Specifically, a write–read conflict occurs when "a transaction requests to write an entity, for which an unclosed transaction has already made a read request." Given a schedule S S = \begin{bmatrix} T1 & T2 \\ R(A) & \\ W(A) & \\ & R(A) \\ & W(A)\\ & R(B) \\ & W(B) \\ & Com.[src] \\ R(B) & \\ W(B) & \\ Com.[src] & \end{bmatrix} T2 could read a database object A, modified by T1 which hasn't committed.[src] This is a dirty or inconsistent read.[src] T1 may write some value into A which makes the database inconsistent.[src] It is possible that interleaved execution can expose this inconsistency and lead to an inconsistent final database state, violating ACID rules.[src] Strict 2PL overcomes this inconsistency by locking T2 out from performing a Read/Write on A.[src] Note however that Strict 2PL can have a number of drawbacks, such as the possibility of deadlocks.[src] ==References==[src]
19 sentences · 19 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Write–read conflict." encyclopegia.org, 2025, https://encyclopegia.org/wiki/write-read-conflict. Accessed 06 December 2026.
Chicago
"Write–read conflict." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/write-read-conflict.
APA
encyclopegia.org. (2025). Write–read conflict. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/write-read-conflict
Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON