Is there any way to monitor the connection pool
See original GitHub issueQuestion
Is there any way to monitor the connection pool like druid monitor?
Recently, I have encountered several times in the online environment that the sharding proxy database connection is unavailable, which will occur one day to one month after the server is started.
At this time, I try to use Navicat to test the direct connection to MySQL. It can connect, but it can’t connect to sharding proxy.
The log is as follows:
### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConne
ctionException: Failed to obtain JDBC Connection; nested exception is java.sql.S
QLTransientConnectionException: HikariPool-1 - Connection is not available, requ
est timed out after 30001ms.
### The error may exist in com/xxx/dao/XXDao.java (b
est guess)
### The error may involve com.xxx.dao.XXDao.selectXXByID
### The error occurred while executing a query
### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to
obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionExcep
tion: HikariPool-1 - Connection is not available, request timed out after 30001m
s.
I hope there is a way to monitor the status of sharding proxy connection pool. Can you give me some suggestions.
Thanks.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Connection Pool Monitoring - java - Stack Overflow
Another way to monitor is though JConsole utility which comes with Java. The same JConsole can be used to monitor the JBoss AS...
Read more >ConnectionPool monitoring - IBM
ConnectionPool monitoring · Ensure that the application that is using the pool makes a call to DB2 so that the pool is initialized....
Read more >Monitor utilization of DB connection pools from the app servers
Do we have a way of monitoring the utilization in the DB connection pools on the app server? I would like to monitor...
Read more >1.14. Monitoring Connections - ADO.NET Cookbook [Book]
Start Performance Monitor by selecting Start → All Programs → Administrative Tools → Performance. · Add performance counters to monitor connection pooling ...
Read more >HOW TO: Monitor the JDBC Connection Pool in WebLogic ...
In Master Data Management (MDM), the JDBC Connection pool is monitored to view the number of connections that are open or closed at...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello , this issue has not received a reply for several days. This issue is supposed to be closed.
There is a related issue https://github.com/apache/shardingsphere/issues/15695