User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Oracle section within the Web Development category of DaniWeb, a massive community of 422,389 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,786 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Oracle advertiser: Programming Forums
Views: 1146 | Replies: 3
Reply
Join Date: Aug 2003
Location: Oz
Posts: 13
Reputation: dogma is an unknown quantity at this point 
Rep Power: 6
Solved Threads: 0
dogma dogma is offline Offline
Newbie Poster

Oracle Statistics

  #1  
Feb 25th, 2008
Is there a way to query Oracle on the number of connections open (Not as the administrator). I am trying to setup connection pooling and I want something (on the client end) to check how many connections are being maintained etc.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2007
Location: Bangalore,India
Posts: 1,270
Reputation: debasisdas is on a distinguished road 
Rep Power: 4
Solved Threads: 80
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Nearly a Posting Virtuoso

Re: Oracle Statistics

  #2  
Feb 25th, 2008
Try find out the number of active connections . Try to use v$session
Share your Knowledge.
Reply With Quote  
Join Date: Nov 2007
Posts: 51
Reputation: Nige Ridd is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 9
Nige Ridd Nige Ridd is offline Offline
Junior Poster in Training

Re: Oracle Statistics

  #3  
Feb 28th, 2008
If your doing the connection pooling at the client end then I'd have thought you'd know how many connections your using.
There are quite a few caching algorithms for various systems around. Depends on what language or in Java - which j2ee engine your using.
Nige
Reply With Quote  
Join Date: Aug 2003
Location: Oz
Posts: 13
Reputation: dogma is an unknown quantity at this point 
Rep Power: 6
Solved Threads: 0
dogma dogma is offline Offline
Newbie Poster

Re: Oracle Statistics

  #4  
Feb 28th, 2008
We're using Tomcat 5.5. The problem is that I have found at least three different methods for doing it. I don't have a way that I can find of checking the -actual- number of connections being made and when they are being made. I can create different results which tells me a little, such as I can tie up all connections until the max connections and get everything after to fail. Which tells me the JNDI resource is definitely there and working, but I don't know the extent of the 'working'.

My current problem is that I'm trying to make sure a minimum number of connections are being created when the app goes up/tomcat starts. If you know of a way to look at what Tomcat/JNDI is doing and pulling some data on it I would love to know.

Otherwise I need to look at the DB end and see how many sessions that source is maintaining.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Oracle Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Oracle Forum

All times are GMT -4. The time now is 8:55 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC