Author |
Message
|
kwelch |
Posted: Tue Oct 22, 2002 7:40 am Post subject: WMQI and external databases |
|
|
 Master
Joined: 16 May 2001 Posts: 255
|
Hi,
Can someone explain to me how the connection works? I know it uses ODBC. Does my messageflow stay connected to the database for as long as the flow and/or database is up or does it connect each time a new message lands? If I have 3 messageflows all using the same ODBC connection to get to the same database table is this ok or should they have separate ODBC connections? How many connections can ODBC handle? Thanks in advance for any answers to these questions
Karen |
|
Back to top |
|
 |
marko |
Posted: Tue Oct 22, 2002 11:15 am Post subject: |
|
|
Apprentice
Joined: 28 Feb 2002 Posts: 27
|
The connections are persistent, so that a single connection is reused for multiple flow runs. Multiple connections will be created from a single datasource if you have multiple flows or instances. I believe that the number of ODBC connections are only limited by the database's configured max connection count. |
|
Back to top |
|
 |
moogoo |
Posted: Tue Sep 02, 2003 12:41 pm Post subject: |
|
|
Acolyte
Joined: 20 Sep 2002 Posts: 54 Location: US
|
Question: Does each compute node that accesses the same database within a message flow use a different handle when connecting?
Trying to find out if the number of connections that we have set up in our pool is sufficient.
Thanks,
MG |
|
Back to top |
|
 |
marko |
Posted: Wed Sep 03, 2003 5:33 am Post subject: Connection count. |
|
|
Apprentice
Joined: 28 Feb 2002 Posts: 27
|
I believe that, for a single datasource, a single connection is used for all compute nodes. One of the WMQI guides (admin?) provides a formula for caluculating the number of connections you will require. |
|
Back to top |
|
 |
moogoo |
Posted: Fri Sep 05, 2003 7:10 am Post subject: |
|
|
Acolyte
Joined: 20 Sep 2002 Posts: 54 Location: US
|
Marko,
You're right on...thx for the heads up to pointing me to the Administration manual to verify.
MG |
|
Back to top |
|
 |
|