community
directory
books
authors
images
encyclopedia

Email:
Password:
Register

Knowledgerush Search

 

Google
  Web knowledgerush


Search for images of Concurrency control


Message boards   Post comment

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 relational databases and database management systems, which must ensure that transactions are executed safely and that they follow the ACID rules. 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

  • Atomicity - either all or no operations are completed. (UNDO)
  • Consistency - all transactions must leave the database in consistent state
  • Isolation - transactions cannot interfere with each other
  • Durability - successful transactions must persist through crashes (REDO)

Concurrency Control mechanism

The main categories of concurrency control mechanisms are:

  • Pessimist - The concurrent executions of transactions are sinchronized 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

Referenced By

Database | Database applications | Parallel Programming

 

Compose Your Message

Your Email Address or Pen Name (optional):
Subject:
Your Message:
 

 

 

 

 

 

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Concurrency control".

 

Contact UsPrivacy Statement & Terms of Use

 
Copyright © 1999-2003 Knowledgerush.com. All rights reserved.