Thomas write rule

Thomas write rule

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

Given a Timestamp on a transaction T, TS(T) and Write Timestamp on an object O, WTS(O):

It states if TS(T) < WTS(O), the current write action has been made obsolete by the most recent write of O, which follows the current write according to timestamp ordering.

Given a non-conflict serializable transaction schedule:

:egin{bmatrix}T1 & T2 \R(A) & \ &W(A) \& Com. \W(A) & \Com. & end{bmatrix}

Text: T1:R(A), T2:W(A), T2 Commit, T1: W(A), T1 Commit.

The Thomas Write Rule relies on the fact that T1's write on object A is never seen by any transaction and postulates that the schedule above is equivalent to the schedule below where T2 occurs strictly after T1, and that hence the write of T1 can be ignored:

:egin{bmatrix}T1 & T2 \R(A) & \W(A) & \Com. & \ & W(A) \ & Com. end{bmatrix}

Text: T1:R(A), T1: W(A), T1 Commit, T2:W(A), T2 Commit.

This schedule has the same effect as the first and is conflict serializable.

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Rule of Saint Francis —     Rule of Saint Francis     † Catholic Encyclopedia ► Rule of Saint Francis     As known, St. Francis founded three orders and gave each of them a special rule. Here only the rule of the first order is to be considered, i.e., that of the Friars …   Catholic encyclopedia

  • Thomas Franklin Fairfax Millard — (born 8 July 1868 in Missouri; died 7 September 1942 in Seattle, Washington)[1][2][3][4] was an American journalist, newspaper editor, founder of the China Weekly Review, author of seven influential books on the Far East[5] and first American… …   Wikipedia

  • Thomas Arne — painted by Johann Zoffany Thomas Augustine Arne (12 March 1710 – 5 March 1778) was a British composer, best known for the patriotic song Rule, Britannia!. He also wrote a version of God Save the King, which was to become the British national… …   Wikipedia

  • Thomas á Jesu — • Discalced Carmelite, writer on mystical theology (1564 1627) Catholic Encyclopedia. Kevin Knight. 2006. Thomas a Jesu     Thomas á Jesu      …   Catholic encyclopedia

  • Thomas Cranmer — Cranmer redirects here. For other people with the surname, see Cranmer (surname). Thomas Cranmer Archbishop of Canterbury Portrait by Gerlach Flicke, 1545[ …   Wikipedia

  • Thomas Dolby — This article is about the musician. For the novelist, see Tom Dolby. Thomas Dolby Dolby at TED conference 2009 Background information Birth name Thomas …   Wikipedia

  • Thomas Friedman — For other people of the same name, see Tom Friedman (disambiguation). Thomas L. Friedman Born July 20, 1953 (1953 07 20) (age 58) St. Louis Park …   Wikipedia

  • Thomas the Apostle — Saint Thomas the Apostle The Incredulity of St Thomas by Caravaggio Apostle Born 1st century AD …   Wikipedia

  • Thomas Wilson (bishop) — infobox bishopbiog name = Thomas Wilson religion= Church of England See = Sodor and Man Title = Bishop of Sodor and Man Period = 1697 ndash;1755 consecration = 16 January 1698 Predecessor = Baptist Levinz Successor = Mark Hiddesley post = |… …   Wikipedia

  • Thomas Edward Cliffe Leslie — T. E. Cliffe Leslie Thomas Edward Cliffe Leslie (21 June 1826 – 27 January 1882), Irish economist. He was professor of jurisprudence and political economy in Queen s College, Belfast, noted for debunking the Wages Fund doctrine[1] and for… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”