If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Db2 locking on version 9.5

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-14-09, 06:31
skesireddy skesireddy is offline
Registered User
 
Join Date: Sep 2009
Posts: 6
Db2 locking on version 9.5

Hi All,

In T1 transaction I am select few columns from table X which as id,Name as primary key .
Now I am starting a new transacrion T2 in which I am inserting a row with unique name and same Id as in select.

This is causing a deadlock. The same thing use to work with Db28.2 and I am not sure of all configuration setting s we did then.

Database Isolations level is CS.
db2set DB2_SKIPINSERTED=ON
db2set DB2_SKIPDELETED=ON
db2set DB2_EVALUNCOMMITTED=ON

Since we have high level of concurracy in our application we would not like to change the isolation level.

It seems that their is page level locking on table instead of row level .

Am i missing something .
All locks go away with Db29.7.

Any help will appreciated.

thanks
sreddy
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On