Concurrency Control

In computer science -- more specifically, in the field of databases -- concurrency control is a method used to ensure that database transactions are executed in a safe manner (i.e., without data loss). Concurrency control is especially applicable to database management systems, which must ensure that transactions are executed safely and that they follow the ACID rules, as described in the following section. The DBMS must be able to ensure that only serializable, recoverable schedules are allowed, and that no actions of committed transactions are lost while undoing aborted transactions.

Transaction ACID rules

Concurrency control mechanism

The main categories of concurrency control mechanisms are:
  • Pessimist - The concurrent executions of transactions are synchronized early in their execution life cycle.
  • Optimistic - Delay the synchronization for transactions until their termination.
There are several methods for concurrency control, the majority of which uses Strict 2PL locking: Locks are bookkeeping objects associated with a database object. There are also Non-lock concurrency control methods.

See also

 

<< PreviousWord BrowserNext >>
pica (genus)
triumvirate
mick pointer
stochastic matrix
cray inc.
pyrrhocorax
ian mosley
ottoman interregnum
mark kelly
carl schurz
physical education
fugazi (album)
johannes rudbeckius
plutonian ode
valentinus
clutching at straws
polish contribution to the 2003 invasion of iraq
thomas write rule
restrepia
mark fuhrman
afghanistan timeline august 2001
stelis
timestamp based concurrency control
alfred brehm
non lock concurrency control
masdevallia
pleurothallidinae
pedro caldern de la barca
misplaced childhood
antonio garca gutirrez
dracula (orchid)
strict two phase locking
brave (album)
montgomery burns
folkpartiet. the liberals
hortensio flix paravicino
left party
christian democrats (sweden)
centre party (sweden)
snowdon mountain railway
environment party the greens (sweden)
non strict two phase locking
tirso de molina
juan eugenio hartzenbusch