Global Information Lookup Global Information

Thomas write rule information


In computer science, particularly the field of databases, the Thomas write rule is a rule in timestamp-based concurrency control. It can be summarized as ignore outdated writes.

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

The Thomas write rule is applied in situations where a predefined logical order is assigned to transactions when they start. For example, a transaction might be assigned a monotonically increasing timestamp when it is created. The rule prevents changes in the order in which the transactions are executed from creating different outputs: The outputs will always be consistent with the predefined logical order.

For example, consider a database with 3 variables (A, B, C), and two atomic operations C := A (T1), and C := B (T2). Each transaction involves a read (A or B), and a write (C). The only conflict between these transactions is the write on C. The following is one possible schedule for the operations of these transactions:

If (when the transactions are created) T1 is assigned a timestamp that precedes T2 (i.e., according to the logical order, T1 comes first), then only T2's write should be visible. If, however, T1's write is executed after T2's write, then we need a way to detect this and discard the write.

One practical approach to this is to label each value with a write timestamp (WTS) that indicates the timestamp of the last transaction to modify the value. Enforcing the Thomas write rule only requires checking to see if the write timestamp of the object is greater than the time stamp of the transaction performing a write. If so, the write is discarded

In the example above, if we call TS(T) the timestamp of transaction T, and WTS(O) the write timestamp of object O, then T2's write sets WTS(C) to TS(T2). When T1 tries to write C, it sees that TS(T1) < WTS(C), and discards the write. If a third transaction T3 (with TS(T3) > TS(T2)) were to then write to C, it would get TS(T3) > WTS(C), and the write would be allowed.

and 23 Related for: Thomas write rule information

Request time (Page generated in 0.9086 seconds.)

Thomas write rule

Last Update:

of databases, the Thomas write rule is a rule in timestamp-based concurrency control. It can be summarized as ignore outdated writes. It states that, if...

Word Count : 519

Baseball Rule

Last Update:

socially optimal manner", Grow and Flagel write. Grow and Flagel argue that courts should abandon the Baseball Rule, or seriously modify it. They recommend...

Word Count : 19927

British Raj

Last Update:

or 'empire') was the rule of the British Crown on the Indian subcontinent; it is also called Crown rule in India, or Direct rule in India, and lasted...

Word Count : 28809

Optimistic replication

Last Update:

Other examples include: Usenet, and other systems which use the Thomas Write Rule (See Rfc677) Multi-master database replication The Coda distributed...

Word Count : 1200

Rule of law

Last Update:

The rule of law is a political ideal that all citizens and institutions within a country, state, or community are accountable to the same laws, including...

Word Count : 10976

Divisibility rule

Last Update:

A divisibility rule is a shorthand and useful way of determining whether a given integer is divisible by a fixed divisor without performing the division...

Word Count : 6879

Agatha Christie bibliography

Last Update:

career began during the war, after she was challenged by her sister to write a detective story; she produced The Mysterious Affair at Styles, which was...

Word Count : 1532

Bill Russell

Last Update:

Russell Rule, named after Russell and based on the National Football League's Rooney Rule. In its announcement, the WCC stated: "The 'Russell Rule' requires...

Word Count : 19081

Aufbau principle

Last Update:

describes the Madelung rule as essentially an approximate empirical rule although with some theoretical justification, based on the Thomas–Fermi model of the...

Word Count : 3054

Secretary problem

Last Update:

"37% rule" for your life's biggest decisions". Big Think. Retrieved 6 February 2024. Gnedin 2021. Gardner 1966. Cover, Thomas M. (1987), Cover, Thomas M...

Word Count : 6840

Divide and rule

Last Update:

Divide and rule policy (Latin: divide et impera), or divide and conquer, in politics and sociology is gaining and maintaining power divisively. This includes...

Word Count : 3113

Thomas Jefferson

Last Update:

Thomas Jefferson (April 13, 1743 – July 4, 1826) was an American statesman, diplomat, lawyer, architect, philosopher, and Founding Father who served as...

Word Count : 22251

Gospel of Thomas

Last Update:

attributed to Thomas which the Manichaean use" in its list of heretical books. Richard Valantasis writes: Assigning a date to the Gospel of Thomas is very complex...

Word Count : 8989

Thomas Sowell

Last Update:

to be social commentators who write widely on issues of race." Greenhouse effect List of newspaper columnists "Thomas Sowell". Hoover Institution. Archived...

Word Count : 8205

Thomas Edison

Last Update:

Thomas Alva Edison (February 11, 1847 – October 18, 1931) was an American inventor and businessman. He developed many devices in fields such as electric...

Word Count : 13078

Clarence Thomas

Last Update:

a conclusion." In United States v. Bajakajian, Thomas joined with the Court's liberal justices to write the majority opinion declaring a fine unconstitutional...

Word Count : 21071

Australian rules football

Last Update:

rules omitted any offside law. "The new code was as much a reaction against the school games as influenced by them", writes Mark Pennings. The rules were...

Word Count : 10219

Leslie Rule

Last Update:

it's no wonder that Leslie Rule, 50, grew up with a yen to write about something creepy." An animal rights advocate, Rule featured the story of an aging...

Word Count : 627

The Maze Runner

Last Update:

thrown at Thomas and he saves him. Gally The main antagonist, Gally is a Glader who lives by the rules Alby put in place. He does not trust Thomas and shows...

Word Count : 3529

Thomas Bayes

Last Update:

Thomas Bayes (/beɪz/ BAYZ audio; c. 1701 – 7 April 1761) was an English statistician, philosopher and Presbyterian minister who is known for formulating...

Word Count : 2094

Dating

Last Update:

in a committed relationship". And the only rule is that there are no rules. — Kira Cochrane Social rules regarding dating vary considerably according...

Word Count : 9789

The Comey Rule

Last Update:

The Comey Rule is an American political drama television miniseries written and directed by Billy Ray, based on the book A Higher Loyalty: Truth, Lies...

Word Count : 1968

Thomas Aquinas

Last Update:

material substance that comes from body and soul: that is what Thomas means when he writes that "something one in nature can be formed from an intellectual...

Word Count : 16967

PDF Search Engine © AllGlobal.net