Go to main content
1/14
Contents
Title and Copyright Information
Preface
Audience
Documentation Accessibility
Related Documents
Conventions
1
Introduction to UCP
Overview of Connection Pool
Benefits of Using Connection Pools
Overview of Universal Connection Pool for JDBC
Conceptual Architecture
Connection Pool Properties
Connection Pool Manager
High Availability and Performance Scenarios
2
Getting Started
Requirements for using UCP
Basic Connection Steps in UCP
Basic Connection Example Using UCP
UCP for JDBC API Overview
3
Getting Database Connections in UCP
Borrowing Connections from UCP
Using the Pool-Enabled Data Source
Using the Pool-Enabled XA Data Source
Setting Connection Properties
Using JNDI to Borrow a Connection
Setting Connection Pool Properties for UCP
Validating Connections in UCP
Validate When Borrowing
Checking If a Connection Is Valid
Returning Borrowed Connections to UCP
Removing Connections from UCP
Third-Party Integration
4
Optimizing Universal Connection Pool Behavior
Overview of Optimizing Connection Pools
Controlling the Pool Size in UCP
Setting the Initial Pool Size
Setting the Minimum Pool Size
Setting the Maximum Pool Size
Controlling Stale Connections in UCP
Setting Connection Reuse
Setting the Maximum Connection Reuse Time
Setting the Maximum Connection Reuse Count
Setting the Abandon Connection Timeout
Setting the Time-To-Live Connection Timeout
Setting the Connection Wait Timeout
Setting the Inactive Connection Timeout
Setting the Timeout Check Interval
Harvesting Connections in UCP
Setting Whether a Connection is Harvestable
Setting the Harvest Trigger Count
Setting the Harvest Maximum Count
Caching SQL Statements in UCP
Enabling Statement Caching
5
Labeling Connections in UCP
Overview of Labeling Connections in UCP
Implementing a Labeling Callback in UCP
Creating a Labeling Callback
An Example Labeling Callback
Registering a Labeling Callback
Removing a Labeling Callback
Applying Connection Labels in UCP
Borrowing Labeled Connections from UCP
Checking Unmatched Labels in UCP
Removing a Connection Label from UCP
6
Controlling Reclaimable Connection Behavior
AbandonedConnectionTimeoutCallback
TimeToLiveConnectionTimeoutCallback
7
Using the Connection Pool Manager
Using the UCP Manager
Connection Pool Manager Overview
Creating a Connection Pool Manager
Controlling the Lifecycle of a Connection
Creating a Connection Pool
Starting a Connection Pool
Stopping a Connection Pool
Destroying a Connection Pool
Performing Maintenance on a Connection Pool
Refreshing a Connection Pool
Recycling a Connection Pool
Purging a Connection Pool
Accessing JMX-based Management
UniversalConnectionPoolManagerMBean
UniversalConnectionPoolMBean
8
Using Oracle RAC Features
Overview of Oracle RAC Features
Using Fast Connection Failover
Example Fast Connection Failover Configuration
Enabling Fast Connection Failover
Configuring ONS
Remote Configuration
Client-Side Daemon Configuration
Configuring the Connection URL
Using Run-Time Connection Load Balancing
Setting Up Run-Time Connection Load Balancing
Using Connection Affinity
Setting Up Connection Affinity
Creating a Connection Affinity Callback
Registering a Connection Affinity Callback
Removing a Connection Affinity Callback
9
Diagnosing a Connection Pool
Pool Statistics
Dynamic Monitoring Service Metrics
Viewing RAC Statistics
Fast Connection Failover Statistics
Run-Time Connection Load Balance Statistics
Connection Affinity Statistics
Setting Up Logging in UCP
Using a Logging Properties File
Using UCP for JDBC and JDK API
Supported Log Levels
Exceptions and Error Codes
A
Error Codes Reference
General Structure of UCP Error Messages
Connection Pool Layer Error Messages
JDBC Data Sources and Dynamic Proxies Error Messages
Index
Scripting on this page enhances content navigation, but does not change the content in any way.