Thomas Write Rule

In computer science, particularly the field of databases, the Thomas Write rule is a rule in timestamp-based concurrency control.

It states that, if a more recent transaction has already written the value of an object, then a less recent transaction does not need perform its own write since it will eventually be overwritten by the more recent one.

For example:

\begin{bmatrix}
T_1 & T_2 \\
& Read(A) \\
Read(B) & \\ &Write(C) \\
Write(C) & \\
Commit & \\
& Commit \end{bmatrix} \Longleftrightarrow
\begin{bmatrix}
T_1 & T_2 \\
& Read(A) \\
Read(B) & \\
& Write(C) \\ & \\
Commit & \\
& Commit\\
\end{bmatrix}

Assuming that the timestamp of T1 is less than that of T2, T1's write is discarded.

If TS(T)Thomas Write Rule

Famous quotes containing the words thomas, write and/or rule:

    If worship have kept me, I had not gone.
    If wit might have me saved, I needed not fear.
    —Sir Thomas More (1478–1535)

    To write weekly, to write daily, to write shortly, to write for busy people catching trains in the morning or for tired people coming home in the evening, is a heartbreaking task for men who know good writing from bad. They do it, but instinctively draw out of harm’s way anything precious that might be damaged by contact with the public, or anything sharp that might irritate its skin.
    Virginia Woolf (1882–1941)

    There were some schools, so called [in my youth]; but no qualification was ever required of a teacher, beyond “readin, writin, and cipherin,” to the Rule of Three. If a straggler supposed to understand latin, happened to sojourn in the neighborhood, he was looked upon as a wizzard. There was absolutely nothing to excite ambition for education.
    Abraham Lincoln (1809–1865)