*
The moose likes JDBC and the fly likes Connection pool metrics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Connection pool metrics" Watch "Connection pool metrics" New topic
Author

Connection pool metrics

Ramu Nur
Greenhorn

Joined: Aug 21, 2010
Posts: 22
Hi
I need to get connection pool metrics like DB connections that are active, passive/inactive and blocked, total available connections from DB etc for the applciation deployment capacity planning. I came across some tools like Proxool, DBPool etc, but don't give much details. We use DBCP that doesn't have any Listerners to implement.

I see one option of writing my own JDBC connection/statement, etc and override some methods, but that becomes cumbersome design for maintenance. Do you see any approach to get the metrics ?

Thanks
Rams
 
 
subject: Connection pool metrics
 
Similar Threads
Connection Pooling
Pooled Connections - EJB Shutdown
EJB opening too many connections to DB
Checking Connection Pool Size
Connection pooling statistics