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 06-02-04, 01:31
manish21 manish21 is offline
Registered User
 
Join Date: Jan 2003
Posts: 35
isolation level

Is there any way to find the current isolation level of any database. I can change the current isolation level to any level by using cjhange isolation command. But how can I find the currenet isolation level?
Reply With Quote
  #2 (permalink)  
Old 06-02-04, 03:40
nitingm nitingm is offline
Registered User
 
Join Date: Jul 2003
Location: Austin, TX, USA
Posts: 278
No

Hi,

Unfortunately there is no way as of now by which we can know the current isolation level in DB2.

There has been a lot of discussion on this thread and I would advise you to search the archives for a lot of information on the same, especially posts from other members on this topic are really great.

Please also make it a habit for posting your database level, i mean version and fixpack and the Operating System with everypost. That will make it easier for everyone to get a better hang of your scenario.
__________________
HTH

Nitin

Ask the experienced rather than the learned
Reply With Quote
  #3 (permalink)  
Old 06-02-04, 04:25
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
I previously posted a list of various different ways that isolation level can be set in DB2. This was posted several months ago (or longer). Unfortuenately, I have heard that the search engine is not working very well since the last upgrade, but don't know if that is true.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #4 (permalink)  
Old 06-02-04, 04:36
manish21 manish21 is offline
Registered User
 
Join Date: Jan 2003
Posts: 35
database is db2 ubd eee v 7.2 and os is aix version 5.0.1
Reply With Quote
  #5 (permalink)  
Old 06-02-04, 06:50
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by manish21
Is there any way to find the current isolation level of any database. I can change the current isolation level to any level by using cjhange isolation command. But how can I find the currenet isolation level?
If this is JDBC, con.getTransactionIsolation() will do it.
__________________
--
Jonathan Petruk
DB2 Database Consultant
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