Package oracle.ucp.jdbc.oracle
Interface OracleJDBCConnectionPoolStatistics
- All Superinterfaces:
JDBCConnectionPoolStatistics,UniversalConnectionPoolStatistics
Various runtime statistics for the Universal Connection Pool that
are specific to Oracle JDBC resources. This interface provides
query-only operations on all available pool statistics.
-
Method Summary
Modifier and TypeMethodDescriptionGet processing info for COLOCATION_TAG support.longReturns the number of connection repurposed in a shared pool for a mutitenant database, where connections can be reused across PDB's by switching their container and PDB service.longGets the number of borrow requests that returned connections not matching the affinity contexts.longGets the number of borrow requests that failed to use Runtime Connection Load-Balancing (RCLB) algorithms.Gets the information of recent Fast Connection Failover (FCF) attempts, in the form of a String.longGets the number of borrow requests that succeeded in matching affinity contexts.longGets the number of borrow requests that succeeded in using the Runtime Connection Load-Balancing (RCLB) algorithms.Methods inherited from interface oracle.ucp.UniversalConnectionPoolStatistics
getAbandonedConnectionsCount, getAvailableConnectionsCount, getAverageBorrowedConnectionsCount, getAverageConnectionWaitTime, getBorrowedConnectionsCount, getConnectionCreationAttemptsSinceLastOutage, getConnectionsClosedCount, getConnectionsCreatedCount, getCumulativeConnectionBorrowedCount, getCumulativeConnectionCreationAttemts, getCumulativeConnectionReturnedCount, getCumulativeConnectionUseTime, getCumulativeConnectionWaitTime, getCumulativeFailedConnectionWaitCount, getCumulativeFailedConnectionWaitTime, getCumulativeSuccessfulConnectionWaitCount, getCumulativeSuccessfulConnectionWaitTime, getLabeledConnectionsCount, getPeakBorrowedConnectionsCount, getPeakConnectionsCount, getPeakConnectionWaitTime, getPendingRequestsCount, getRemainingPoolCapacityCount, getShardConnectionStats, getTotalConnectionsCount, shortForm
-
Method Details
-
getSuccessfulAffinityBasedBorrowCount
long getSuccessfulAffinityBasedBorrowCount()Gets the number of borrow requests that succeeded in matching affinity contexts.- Returns:
- The number of borrow requests that succeeded in matching affinity contexts.
-
getFailedAffinityBasedBorrowCount
long getFailedAffinityBasedBorrowCount()Gets the number of borrow requests that returned connections not matching the affinity contexts.- Returns:
- The number of borrow requests that returned connections not matching the affinity contexts.
-
getSuccessfulRCLBBasedBorrowCount
long getSuccessfulRCLBBasedBorrowCount()Gets the number of borrow requests that succeeded in using the Runtime Connection Load-Balancing (RCLB) algorithms.- Returns:
- The number of borrow requests that succeeded in using Runtime Connection Load-Balancing (RCLB) algorithms.
-
getFailedRCLBBasedBorrowCount
long getFailedRCLBBasedBorrowCount()Gets the number of borrow requests that failed to use Runtime Connection Load-Balancing (RCLB) algorithms.- Returns:
- The number of borrow requests that failed to use Runtime Connection Load-Balancing (RCLB) algorithms.
-
getFCFProcessingInfo
String getFCFProcessingInfo()Gets the information of recent Fast Connection Failover (FCF) attempts, in the form of a String. The information returned is to help diagnosing FCF problems, and includes the outcome of each FCF attempt (successful or failed), the relevant Oracle RAC instances, the number of connections cleaned up, the exception that triggered the FCF attempt failure, and so forth.- Returns:
- The information string for recent FCF attempts.
-
getFCFProcessingInfoProcessedOnly
String getFCFProcessingInfoProcessedOnly() -
getConnectionRepurposeCount
long getConnectionRepurposeCount()Returns the number of connection repurposed in a shared pool for a mutitenant database, where connections can be reused across PDB's by switching their container and PDB service.- Returns:
- repurpose count
-
getColocationStats
String getColocationStats()Get processing info for COLOCATION_TAG support. This currently contains only information on whether all the non-applicable HA features are disabled.- Returns:
- String with processing info for COLOCATION_TAG support.
-