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 All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts count contained values of several col... DB2 5
No new posts To join 2 tables and to join 3rd tabl... DB2 8
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts sort to find out the char which repea... Mainframe Interview Questions 10
Search our Forums:


Back to Top