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 » Checking Number of connections to the database

Post new topic  Reply to topic
 Checking Number of connections to the database « View previous topic :: View next topic » 
Author Message
mq_crazy
PostPosted: Tue Sep 30, 2008 8:49 am    Post subject: Checking Number of connections to the database Reply with quote

Master

Joined: 30 Jun 2004
Posts: 295

Hi Guys,

Is there any command in Broker to check the number of connections open to the database?? Also what is the procedure to make sure the connection is good from database side before creating the broker, if the database is on the remote server??
Back to top
View user's profile Send private message
adhuri
PostPosted: Tue Sep 30, 2008 11:41 am    Post subject: Check with your database tools supplied with product Reply with quote

Newbie

Joined: 29 Sep 2008
Posts: 3

Listing database connections that the broker holds
The broker does not have any functionality to list the connections it has to a database, instead use the facilities that your database supplies to list connections. Refer to the documentation for your database to find out about these.

Related concepts

User database connections
Related tasks

Creating a DB2 database on Windows
Creating a DB2 database on Linux and UNIX systems
Changing the Database Heap Size on DB2 broker databases
Enabling connections to the databases
Authorizing access to the databases
Related reference

Supported databases
Quiescing a database
WebSphere MQ connections
Back to top
View user's profile Send private message
Tibor
PostPosted: Wed Oct 01, 2008 12:47 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

mq_crazy: what kind of database? btw, you can check the numbers of network connections between the appserver and dbserver, only the port number is database dependent.

HTH,
Tibor
Back to top
View user's profile Send private message
mq_crazy
PostPosted: Wed Oct 01, 2008 6:32 pm    Post subject: Reply with quote

Master

Joined: 30 Jun 2004
Posts: 295

It is Oracle database
Back to top
View user's profile Send private message
Tibor
PostPosted: Thu Oct 02, 2008 2:31 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Testing the Oracle client connection:
Code:
tnsping dbname

where dbname is same as the ServerName is the odbc.ini

Querying all sessions (from sqlplus):
Code:
select pid,spid, osuser, s.program
 from v$process p, v$session s
 where p.addr=s.paddr;
Back to top
View user's profile Send private message
mq_crazy
PostPosted: Thu Oct 02, 2008 6:55 am    Post subject: Reply with quote

Master

Joined: 30 Jun 2004
Posts: 295

Thanks Tibor for your response.
Back to top
View user's profile Send private message
mq_crazy
PostPosted: Thu Oct 02, 2008 11:07 am    Post subject: Reply with quote

Master

Joined: 30 Jun 2004
Posts: 295

I was wondering if there was any linux command to check the number of connections to the database
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 » Checking Number of connections to the 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.