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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Lock wait time in the Workflow database

Post new topic  Reply to topic
 Lock wait time in the Workflow database « View previous topic :: View next topic » 
Author Message
emiranda
PostPosted: Fri May 27, 2005 6:01 am    Post subject: Lock wait time in the Workflow database Reply with quote

Disciple

Joined: 21 Nov 2002
Posts: 196
Location: Dublin, Ireland

Hi all,

We are running some load tests with a simple flow (1 block, 3 processes, 6 activities, standard containers) and one thing stands out as a concern is the amount of lock wait time in the Workflow database.

Some statements run in less than 0.01 of a second 99% of the time but sometimes take over 2 seconds. The maximum execution time of an SQL statement in the Workflow database during the testing was 2.29 seconds.

Is this a known problem, or even an expected condition, with DB2 Workflow databases?
_________________
Warm Regards,
EM
Back to top
View user's profile Send private message
emiranda
PostPosted: Mon May 30, 2005 12:42 am    Post subject: Reply with quote

Disciple

Joined: 21 Nov 2002
Posts: 196
Location: Dublin, Ireland

Come on guys... any ideas? Is there none having the same behavior in their database?
_________________
Warm Regards,
EM
Back to top
View user's profile Send private message
hos
PostPosted: Mon May 30, 2005 5:55 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

Hi,

what do you expect? If your load test basically does the same sequence of
API calls, all execution servers will call the same DB calls in parallel and lock the same tables / rows. So it cannot be avoided that wait times occur in the DB. This is basic DB behaviour and not specific to MQWF.

Tuning the DB ( e.g. multiple disks for the tables ) helps to minimize the DB response time.
Back to top
View user's profile Send private message
emiranda
PostPosted: Mon May 30, 2005 6:13 am    Post subject: Reply with quote

Disciple

Joined: 21 Nov 2002
Posts: 196
Location: Dublin, Ireland

You are right hos... the db guys are already working on extra indices based on the "Improving the Performance for Workflow Queries (e.g. QueryWorkItem)" technote http://www-1.ibm.com/support/docview.wss?rs=795&context=SSVLA5&uid=swg21136900 to try to get something more from the DBS.

Cheers,
_________________
Warm Regards,
EM
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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Lock wait time in the Workflow database
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.