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 > Isolation level

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-04-04, 16:53
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Isolation level

DB2 UDB V7 FP9 on AIX
Hi:

Before connecting to the database I issue the command to change isolation level to UR. After that I do select from tables and views. Is there any chance that I might still be holding locks on some objects?

dollar
Reply With Quote
  #2 (permalink)  
Old 02-04-04, 18:47
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: Isolation level

See for yourself and please let us know :

Window 1:

db2 change isolation to UR
db2 connect to sample
db2 +c select * from employee


Window2 :

db2 get snapshot for locks on sample


cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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