Optimistic Concurrency Control

In computer science, in the field of databases, optimistic concurrency control, (OCC) is a concurrency control method used in relational databases without using locking. Optimistic Concurrency Control is based on the assumption that database transactions mostly don't conflict with other transactions, and that allows OCC to be as permissive as possible in allowing transactions to execute. There are three phases in OCC: 1. READ: Transaction executes, reading values, writing to a private sandbox. 2. VALIDATION: When transaction commits, the database checks if the transaction could have possibly conflicted with any other concurrent transaction. If there is a possibility, the transaction aborts, and restarted. 3. WRITE: If there is no possibility of conflict, the transactions commits. If there are few conflicts, validation can be done efficiently, and leads to better performance than other concurrency control methods. Unfortunately, if there are many conflicts, the cost of repeatedly restarting transactions, hurts performance significantly.

 

<< PreviousWord BrowserNext >>
parvathi
chiffchaff
lost boys
willow warbler
spliceosome
war on poverty
hyperborea
schwerte
degeneracy (mathematics)
blyth
tenzin gyatso, 14th dalai lama
goya foods
battle of st albans
ss savannah
catalin
april glaspie
kinky
luis ortiz (boxer)
hms ben my chree
ko phi phi lee
prestige (sociology)
shallow
chai wan
christopher locke
st. paul's college, hong kong
reputation
absurdism
pga
mozilla browser
renal sinus
pin grid array
zip
zig zag in line package
dob
jean baptiste klber
energie cottbus
eugenio corini
cubic foot
wood warbler
cubic yard
vasile miriuta
hong tianguifu
french revolutionary wars
blight