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 » db2 settings

Post new topic  Reply to topic
 db2 settings « View previous topic :: View next topic » 
Author Message
MaheshPN
PostPosted: Wed Jun 23, 2004 9:53 am    Post subject: db2 settings Reply with quote

Master

Joined: 21 May 2003
Posts: 245
Location: Charlotte, NC

Hi Guys,
Does any of you guys have changed the value of LOCKTIMEOUT and DLCHKTIME? What is the recommended values for Workflow application.
I heard from db2 support team that, chanching these valuse will reduce the database deadlocks but they also said, be sure to
consult with the application developers or your vendor first to make sure the application is prepared to handle lock timeouts.

Any idea?

Thanks,

-Mahesh
IBM Certified Solution Expert - MQWorkflow
Back to top
View user's profile Send private message
CHF
PostPosted: Wed Jun 23, 2004 10:35 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

I am not a DB2 guy.
My reply will not answer your question, but would like to share something about Database Deadlocks. We used to get tons of deadlocks until we did runstat/rebind for DB2. Performing runstats/rebind on DB2 greatly improved the speed, performance and experiencing no more deadlocks at all.

CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
manoj
PostPosted: Wed Jun 23, 2004 11:07 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

Mahesh,
What's your current values for these variables...are you using the defaults now...any way post the values currently u have
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Wed Jun 23, 2004 12:05 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

This is a question that would best be answered by the developers. You probably should post it to the IBM MQWF Newsgroup
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
MaheshPN
PostPosted: Wed Jun 23, 2004 12:40 pm    Post subject: Reply with quote

Master

Joined: 21 May 2003
Posts: 245
Location: Charlotte, NC

I am using the default values,
LOCKTIMEOUT = -1
DLCHKTIME is 10sec

Hope this will help

-Mahesh
Back to top
View user's profile Send private message
manoj
PostPosted: Wed Jun 23, 2004 3:39 pm    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

A locktimeout of -1 means there will not be any lock timeouts ....This default setting is very dangerous for an OLTP application..
I would suggest setting it 10 or 15 seconds.. here is the command

db2 "update db cfg for DBNAME using LOCKTIMEOUT 15"

Let me know the output of the following command before and after changing the locktimeout to 15 secs

db2 "get snapshot for database on DBNAME"
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
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 » db2 settings
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.