Everything2
Near Matches
Ignore Exact
Full Text
Everything2

Consistency

created by Webster 1913

(idea) by WoOS (1.2 y) (print)   ?   I like it! Sat Oct 21 2000 at 14:50:27

In the context of the ACID principles for database transactions "Consistency" denotes the characteristic of a transaction to transform a consistent state of the database into another consistent state. Consistency is the one characteristic of a transaction which can normally not be enforced by a transaction manager. The code of the transaction itself must ensure this consistency, e.g. by testing if enough money is on a checking account before paying out money or by ensuring that if a supplier of goods is removed from the database, also all goods it supplied are removed. Please note that it is not required that the database has a consistent state during the whole execution time of the transaction, only at the end.

From the consistency of one transaction one can deduce that a schedule of several concurrent transactions will preserve the consistency of the whole database, too, as long as the schedule is serializable. The proof is easy, since a serializable schedule means that an equivalent serial schedule exists. In that serial schedule all transactions are executed one after another and therefore transform the database through a series of (consistent) states to the final consistent state.

Ensuring the consistency of the whole database by demanding that each transaction maintains it can be seen as the implicit way to ensure database consistency. The consistency constraints of the database are encoded implicitly within the transactions, e.g. by comparing the account balance vs. the credit line in the first example above. This has the disadvantage that one single transaction which ends in an inconsistent state (e.g. due to a programming error) can invalidate the whole database. In another approach therefore the consistency criteria are stored explicitly within the database as rules and consistency constraints. Using these the DBMS can then check on its own if the final state of a transaction is consistent. If not, the transaction will be aborted. This achieves more protection against inconsistencies but implementation - of the database but also of the error responses of transactions - becomes more difficult.


(idea) by jesler (3.9 y) (print)   ?   I like it! Sat Nov 17 2001 at 12:15:19

In the context of mathematical logic and more specifically, Boolean algebra, consistency is an important notion. A collection of statements is said to be consistent if the statements can all be true simultaneously. A simple way of determining if a (hopefully small) collection of statements is consistent or not is to use a truth table.

The concept of consistency is important in refutation strategy, a method of determining the validity of an argument. In this method, the conclusion to the proposed argument is negated, then all the statements are checked for consistency. If the argument and the negated conclusion are mutually inconsistent, then the original conclusion must be valid.

(definition) by Webster 1913 (print) I like it! Tue Dec 21 1999 at 22:40:57

Con*sist"ence (?), Con*sist"en*cy (?), n. [Cf. F. consistance.]

1.

The condition of standing or adhering together, or being fixed in union, as the parts of a body; existence; firmness; coherence; solidity.

Water, being divided, maketh many circles, till it restore itself to the natural consistence. Bacon.

We are as water, weak, and of no consistence. Jer. Taylor.

The same form, substance, and consistency. T. Burned.

2.

A degree of firmness, density, or spissitude.

Let the expressed juices be boiled into the consistence of a sirup. Arbuthnot.

3.

That which stands together as a united whole; a combination.

The church of God, as meaning whole consistence of orders and members. Milton.

4.

Firmness of constitution or character; substantiality; durability; persistency.

His friendship is of a noble make and a lasting consistency. South.

5.

Agreement or harmony of all parts of a complex thing among themselves, or of the same thing with itself at different times; the harmony of conduct with profession; congruity; correspondence; as, the consistency of laws, regulations, or judicial decisions; consistency of opinions; consistency of conduct or of character.

That consistency of behavior whereby he inflexibly pursues those measures which appear the most just. Addison.

Consistency, thou art a jewel. Popular Saying.

 

© Webster 1913.


printable version
chaos

Godel's Second Incompleteness Theorem explained in words of one syllable Thrasymachus The three golden rules of user interface design denormalization
Fighting for peace is like fucking for virginity acid inconsistency DBMS
Hilbert Problems one kilo rule Neufchatel Runge-Kutta
Managing Oracle archive redo logs for backups Bavarian clock freeze-dried ice cream Transaction
consistent schedule constraint checking for testicular cancer
Tootsie Roll Lugubrious Gak Complaining on Behalf
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
The best nodes of all time:
public executions
The Psychology of Randomness
Richard Francis Burton
Exquisite Corpse
The El Torito standard
Dutch
The Origins of the First World War
i sing of Olaf glad and big
The Joker
Operation Paul Bunyan
Completing the picture in my head
Fact checking
Is this the last four years or what?
New Writeups
FrankThomas
How and why do we (humans) have culture?(essay)
lee_cad
Isaac(person)
kalen
downvota(poetry)
Andrew Aguecheek
Wstfgl(thing)
ncc05
overheard at IHOP(event)
calgon
Bottomless(poetry)
lismaraxt
Ice Theory of The Origin of Life(idea)
allthetime
Apple Cinnamon Suicide(idea)
Lucy-S
shovelglove(idea)
Adaptive Child
Mexican secret sauce(recipe)
Adaptive Child
nacho libre(recipe)
TheLady
Iron Man(review)
Scaevola
Risk in the Roman law of sale(idea)
semicolon
overheard at IHOP(event)
choirotey
Violent pickup lines(idea)
This affordable entertainment brought to you by The Everything Development Company