IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to find isolation levels and locks the table is using ?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
padma_prakasam

New User


Joined: 06 Oct 2005
Posts: 31

PostPosted: Wed Jan 03, 2007 7:51 pm
Reply with quote

Hi,

I have a table created long back. Now if i want to know what isolation levels and locks the table is using, where can i find??

Thanks
Padma

Title changed from "Isolation level" to "How to find isolation levels and locks the table is using ?" : Priyesh.
Back to top
View user's profile Send private message
vijikesavan

Active User


Joined: 04 Oct 2006
Posts: 118
Location: NJ, USA

PostPosted: Wed Jan 10, 2007 3:14 am
Reply with quote

Padma,
I am not sure if this is the right way. But I use this method to get the details.

Run EXPLAIN on the SQL which uses the table. You can see it in the output.
In the plan_table look for this column
Code:
TSLOCKMODE

you can get more info at this link
http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db2.doc.admin/bjndmstr755.htm
Hope this helps.
Thanks,
Viji
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top