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 > Lock Wait problems with DB2 8.2 Express Edition

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #16 (permalink)  
Old 03-19-10, 09:15
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Quote:
Originally Posted by ricardovp View Post
Hi Bella!

The problem is that the ID-8 was just executing SELECT statements, there was nothing to commit… As I said, the problem was not the application, because when I do the downgrade to the version 6 of the DB2 (and used another backup file to create the database) it works just fine… the problem was the creation of the database with a backup file that has problems…

Thanks for your help!

Ricardo
You are forgetting that by default even basic select will have an isolation level of CR. So, it will hold locks causing other PID's to go in Lock-wait.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
  #17 (permalink)  
Old 03-19-10, 09:21
ricardovp ricardovp is offline
Registered User
 
Join Date: Mar 2010
Location: São Paulo, Brazil
Posts: 7
I’ll check that Andy, but probably you are right!

Thanks again!
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