ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Updates via Update Statement in the Database Node of WMB 6.1

Post new topic  Reply to topic
 Updates via Update Statement in the Database Node of WMB 6.1 « View previous topic :: View next topic » 
Author Message
ChristophPaul
PostPosted: Thu May 28, 2009 12:34 am    Post subject: Updates via Update Statement in the Database Node of WMB 6.1 Reply with quote

Newbie

Joined: 27 May 2009
Posts: 1

Hi community,

I think I have the following problem with the Database Node in WMB 6.1: If I issue an update Statement, it first locks the whole table
Code:
UCHAR * 0x123 [-3] "SELECT ID FROM USER.TABLE FOR UPDATE OF COL1, COL2, ..., COL5"
with no where clause - before it does the actual update:
Code:
UCHAR * 0x124 [-3] "UPDATE USER.TABLE SET COL1 = ?, COL2 = ?, ..., COL5 = 'oki' WHERE CURRENT OF SQL_CURSH234"

So if you have eg. one million rows, this locks down all of them, even if the where clause in the original statement hits just one single row. More flow-threads are leading to even more locks.

So my question: Is anyone else experiencing this? And probably found a solution?

Christoph
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Updates via Update Statement in the Database Node of WMB 6.1
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.