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 07-26-11, 09:53
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
isolation level

now it is my turn, to ask a question
db2 luw 9.5 fp8 on Plinux
dynamic sql coming in from hibernate
we can see the package being used = SYSSH200 and default isolation is CS for this package
Is it possible to see, what is the current isolation level of this agent/applid.
as it might be possible that some connection string does specify isolation level
as we can see many lock escalation in diag file
I did execute a snapshot - used db2pd, but could not see this info
any hint would be welcome - thanks for all update
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #2 (permalink)  
Old 07-26-11, 12:11
stiruvee stiruvee is offline
Registered User
 
Join Date: May 2010
Location: India
Posts: 34
WLM_GET_ACTIVITY_DETAILS table function can be used to identify isolation level used by application. See the following link for additional details.

WLM_GET_ACTIVITY_DETAILS table function - Return detailed information about a specific activity

Note: DB2 Performance optimization (optional) feature is required to use workload manager.

Satya...
Reply With Quote
  #3 (permalink)  
Old 07-26-11, 13:40
JAYANTA_DATTA JAYANTA_DATTA is offline
Registered User
 
Join Date: Oct 2004
Location: DELHI INDIA
Posts: 336
did you try the CURRENT ISOLATION special register in V9.X ?
__________________

Jayanta Datta
DB2 UDB DBA
IBM India, Global Delivery
New Delhi
Reply With Quote
  #4 (permalink)  
Old 07-26-11, 14:14
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
db2pd -activestatements

does provide this info.

---
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #5 (permalink)  
Old 07-27-11, 02:09
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
thanks for the update
any idea how to translate : EffISO=1 to isolation level ?
(current isolation is for within an active user, it can not be executed for another user..)
thanks for all update
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #6 (permalink)  
Old 07-27-11, 02:10
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
found in another post :
0 - Repeatable Read
1 - Cursor stability
2 - Uncommited Read
3 - Read stability
thanks..
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #7 (permalink)  
Old 07-27-11, 02:38
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #8 (permalink)  
Old 07-29-11, 22:57
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
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