~ Office Supplies ~~ Buy Posters ~~ A-Z Products ~~ Website Advertising


Write-Read conflict - Wikipedia

<<Up     Contents

Write-Read conflict

Redirected from Reading uncommitted data

In computer science, in the field of databases, Write-Read Conflict, also known as reading uncommitted data, is a computational anomaly associated with interleaved execution of transactions.

Given a schedule D

<math>D = \begin{bmatrix}
T1 & T2 \\ R(A) & \\ W(A) & \\
 & R(A) \\
 & W(A)\\
 & R(B) \\
 & W(B) \\
 & Com. \\
R(B) & \\ W(B) & \\ Com. & \end{bmatrix}</math>

T2 could read a database object A, modified by T1 which hasn't committed. This is a dirty read.

T1 may write some value into A which makes the database inconsistent. It is possible that interleaved execution can expose this inconsistency and lead to inconsistent final database state, violating ACID rules.

Strict 2PL, overcomes this inconsistency by locking T2 out from A. Unfortunately, deadlocks is something Strict 2PL does not overcome as well.

wikipedia.org dumped 2003-03-17 with terodump




 
 
24 gram very pink RHODONITE gem stone Gemstone cab cabbing cabochon slabbed raw rough 120 carat NICE
 24 gram very pink RHODONITE Gem cab cabbing cabochon slabbed raw 120 carat NICE 
 
15 carats yellow Oregon SUNSTONE gem stones Semi Facet cabbing rough gemstones lot Faceting jewels
 15 carats yellow Oregon SUNSTONE Semi cabbing lot ing jewels 
 
8 carat Picasso Jasper gem stones Polished rectangle blocks Cabbing cab cabochon rough gemstones
 8 carat Picasso Jasper Polished rectangle blocks Cabbing cab cabochon  
 
4 carat RARE Honey Yellow Gold BASTNAESITE Facet Cab Rough Golden gemstone Faceting gem jewel PRETTY
 4 carat RARE Honey Yellow Gold BASTNAESITE Cab Golden ing jewel PRETTY 
 
9 carats tan brown black Picture Jasper gem stones Polished rectangle block Cabbing rough gemstones
 9 carats tan brown black Picture Jasper Polished rectangle block Cabbing