Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Locking types

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
vamseepotti

New User


Joined: 21 Oct 2003
Posts: 46

PostPosted: Fri Feb 20, 2004 3:44 pm    Post subject: Locking types
Reply with quote

What r the Locking types in DB2? Explain?
Back to top
View user's profile Send private message
References
PostPosted: Fri Feb 20, 2004 3:44 pm    Post subject: Re: Locking types Reply with quote

gv_narayana_rao

New User


Joined: 21 Feb 2004
Posts: 10

PostPosted: Sat Feb 21, 2004 6:22 pm    Post subject:
Reply with quote

What r the Locking types in DB2? Explain?

Exclusive
Share
Update
Intent

Exclusive - only one user can read/write/update
Share - Only one user can update/write. Others r allowed to read
Update - (i will get u that later)
Intent - These r like indicators. If a job is using some table say "A"
and other job want to access the same. This lock jus says about the status of the table. That is it gives information about which job is currently using that and for what sort of operation and all related stuff.
Intent locks r further classified into different categories.
(I will get u the other information tommorrow).


I hope this will help u...
Back to top
View user's profile Send private message
francis suman

New User


Joined: 23 May 2003
Posts: 11
Location: Chennai, India

PostPosted: Sun Feb 22, 2004 12:44 pm    Post subject: Locking Types
Reply with quote

Hi,

There are four types of locking is available
ROW LOCK
PAGE LOCK
TABLE LOCK
TABLE SPACE LOCK

NOTE: ROW LOCK is introduced by DB2 version 4.

Thanks & Regards
Suman.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1