How to Verify Universal Connection Pool (UCP) / Fast Connection Failover (FCF) Setup
(Doc ID 1064652.1)
Last updated on NOVEMBER 11, 2024
Applies to:
JDBC - Version 11.1.0.6 and later Universal Connection Pool - Version 11.1.0.7.0 and later Information in this document applies to any platform.
Goal
Universal Connection Pool (UCP) JDBC connection pools provide a tight integration with various Oracle Real Application Clusters (RAC) Database features which include Fast Connection Failover (FCF). This demo shows how to validate the UCP JDBC connection pool to confirm your FCF setup.
The basic usage model for UCP/FCF is the same as back in ICC. The user gets a Connection, performs JDBC operations on it, gets an exception from a RAC failure, reconnects and recovers if necessary. The main difference from ICC usage is the isValid() API that UCP provides, so that users do not need to check hard-coded exception error codes when deciding whether to reconnect.
This demo was tested against an 11g RAC cluster using the 11g JDBC driver. There should be no reason why a 10g RAC cluster can't be used but it was not tested here.
Solution
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!