encyclopegia.org

Write–write conflict

In computer science, in the field of databases, write–write conflict, also known as overwriting uncommitted data is a computational anomaly associated with interleaved execution of transactions.[src] Specifically, a write–write conflict occurs when "transaction requests to write an entity for which an unclosed transaction has already made a write request." Given a schedule S S = \begin{bmatrix} T1 & T2 \\ W(A) & \\ & W(B) \\ W(B) & \\ Com.[src] & \\ & W(A)\\ & Com.[src] \end{bmatrix} note that there is no read in this schedule.[src] The writes are called blind writes.[src] We have a dirty write.[src] Any attempts to make this schedule serial would give off two different results (either T1's version of A and B is shown, or T2's version of A and B is shown), and would not be the same as the above schedule.[src] This schedule would not be serializable.[src] Strict 2PL overcomes this inconsistency by locking T1 out from B.[src] Unfortunately, deadlocks are something Strict 2PL does not overcome all the time.[src]

In computer science, in the field of databases, write–write conflict, also known as overwriting uncommitted data is a computational anomaly associated with interleaved execution of transactions.[src] Specifically, a write–write conflict occurs when "transaction requests to write an entity for which an unclosed transaction has already made a write request." Given a schedule S S = \begin{bmatrix} T1 & T2 \\ W(A) & \\ & W(B) \\ W(B) & \\ Com.[src] & \\ & W(A)\\ & Com.[src] \end{bmatrix} note that there is no read in this schedule.[src] The writes are called blind writes.[src] We have a dirty write.[src] Any attempts to make this schedule serial would give off two different results (either T1's version of A and B is shown, or T2's version of A and B is shown), and would not be the same as the above schedule.[src] This schedule would not be serializable.[src] Strict 2PL overcomes this inconsistency by locking T1 out from B.[src] Unfortunately, deadlocks are something Strict 2PL does not overcome all the time.[src] ==References==[src]

21 sentences · 21 cited inline · 2 references stored

References

  1. A Critique of ANSI SQL Isolation Levels · retrieved 2026-11-18 · rev 1329375776
    Cite this reference

    MLA "A Critique of ANSI SQL Isolation Levels." "A Critique of ANSI SQL Isolation Levels" (PDF). 2026-11-18. http://www.cs.umb.edu/~poneil/iso.pdf. Accessed 25 November 2026.

    Chicago "A Critique of ANSI SQL Isolation Levels." "A Critique of ANSI SQL Isolation Levels" (PDF). 2026-11-18. http://www.cs.umb.edu/~poneil/iso.pdf.

    APA "A Critique of ANSI SQL Isolation Levels" (PDF). (2026). A Critique of ANSI SQL Isolation Levels. Retrieved November 25, 2026, from http://www.cs.umb.edu/~poneil/iso.pdf

  2. Stearns, Richard E. ; Rosenkrantz, Daniel J. (1981). Distributed database concurrency controls using before-values . 1981 ACM SIGMOD International Conference on Management of Data. New York, USA: Association for Computing Machinery . pp. 74– 83. doi : 10.1145/582318.582330 . ISBN 0-89791-040-0 . Wikipedia revision 1329375776, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1329375776
    Cite this reference

    MLA "Stearns, Richard E. ; Rosenkrantz, Daniel J. (1981). Distributed database concurrency controls using before-values . 1981 ACM SIGMOD International Conference on Management of Data. New York, USA: Association for Computing Machinery . pp. 74– 83. doi : 10.1145/582318.582330 . ISBN 0-89791-040-0 . Wikipedia revision 1329375776, retrieved 2026-11-19." Stearns, Richard E. 2026-11-18. https://en.wikipedia.org/wiki/Richard_E._Stearns. Accessed 25 November 2026.

    Chicago "Stearns, Richard E. ; Rosenkrantz, Daniel J. (1981). Distributed database concurrency controls using before-values . 1981 ACM SIGMOD International Conference on Management of Data. New York, USA: Association for Computing Machinery . pp. 74– 83. doi : 10.1145/582318.582330 . ISBN 0-89791-040-0 . Wikipedia revision 1329375776, retrieved 2026-11-19." Stearns, Richard E. 2026-11-18. https://en.wikipedia.org/wiki/Richard_E._Stearns.

    APA Stearns, Richard E. (2026). Stearns, Richard E. ; Rosenkrantz, Daniel J. (1981). Distributed database concurrency controls using before-values . 1981 ACM SIGMOD International Conference on Management of Data. New York, USA: Association for Computing Machinery . pp. 74– 83. doi : 10.1145/582318.582330 . ISBN 0-89791-040-0 . Wikipedia revision 1329375776, retrieved 2026-11-19. Retrieved November 25, 2026, from https://en.wikipedia.org/wiki/Richard_E._Stearns

Cite this article

MLA

"Write–write conflict." encyclopegia.org, 2025, https://encyclopegia.org/wiki/write-write-conflict. Accessed 25 November 2026.

Chicago

"Write–write conflict." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/write-write-conflict.

APA

encyclopegia.org. (2025). Write–write conflict. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/write-write-conflict

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Arab–Israeli conflict

stub · references available

Transnistria conflict

stub · references available

Ituri conflict

stub · references available

Colombian conflict

stub · references available

Casamance conflict

stub · references available

papal mediation in the Beagle conflict

stub · references available

The Evitable Conflict

stub · references available

2007 Lebanon conflict

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1329375776 · 0.5 · snapshot enwiki-001329375776

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.