P. 1
Rdbms

Rdbms

|Views: 3,412|Likes:
Published by Satyendra Gupta

More info:

Categories:Types, School Work
Published by: Satyendra Gupta on Mar 18, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

12/17/2012

pdf

text

original

The concept of locking data items is one of the main techniques
The concept of locking data items is one of the main techniques
for controlling the concurrent execution of transactions.
for controlling the concurrent execution of transactions.

A lock is a variable associated with a data item in the database.
A lock is a variable associated with a data item in the database.

Generally there is a lock for each data item in the database.
Generally there is a lock for each data item in the database.

A lock describes the status of the data item with respect to
A lock describes the status of the data item with respect to
possible operations that can be applied to that item
possible operations that can be applied to that item

used for synchronising the access by concurrent transactions
used for synchronising the access by concurrent transactions
to the database items.
to the database items.

A transaction locks an object before using it
A transaction locks an object before using it

When an object is locked by another transaction, the requesting
When an object is locked by another transaction, the requesting
transaction must wait
transaction must wait

129

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->