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 » USe of multiple DBs in a Single message Flow/Single unit of

Post new topic  Reply to topic
 USe of multiple DBs in a Single message Flow/Single unit of « View previous topic :: View next topic » 
Author Message
onceadam
PostPosted: Tue Jul 27, 2010 2:09 pm    Post subject: USe of multiple DBs in a Single message Flow/Single unit of Reply with quote

Newbie

Joined: 03 Dec 2009
Posts: 2

Hi ,

We have a peculiar situation : I need to know what is the best Practice :
can we use multiple Dbs in a single message Flow/Single unit of work ; if yes can there be any possibility that a simple lookup on one DB can cause table Lock on the other DB which is being updated once the First one has been looked ?

If yes what can be done to replicate this scenario as i m convinced that the Lookup which i m doing on one DB cant lock the table on the 2nd DB but i am un able to prove my point.

Pl Guide
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jul 27, 2010 11:18 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

firstly, yes you can use Multiple DB's in a message flow. I've used DB2 & SQL-Server.
There are well documented limitations on using only DB's of the same type within a compute (or similar) node.

For performance (especially in cases where there are multiple uses of a table or additional instances of a flow) you should make sure that your DB Reads are wherever possible, READ ONLY ones.
This may well involve having to use the PASSTHRU command. I know of some sites where this is verboten. But IMHO being able to ensure that your read on a table is read only and does not implicitly lock the rows or pages then I'd do it using the PASSTHRU command.
Beware the fact that the things you have to specify to avoid locking does differ between DB Types.

Now, onto your other problem.
I don't see how a lookup on one DB can cause a table lock on a different one. Their connection paths are different right from the start as the have different DSN's.
Perhaps you could be a bit more specific.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
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 » USe of multiple DBs in a Single message Flow/Single unit of
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.