CnnPool

Description

Specifies whether Oracle should maintain connections in a pool. An Oracle connection pool is a group of reusable physical connections spanning several sessions and managed by the Oracle Call Interface (OCI). By default, connection pooling is not used.

Applies to

Syntax

CnnPool = 'value'

Parameter

Description

value

Values are:

  • Yes

  • No (Default)

Default

No

Usage

If CnnPool='Yes', the Oracle9i or Oracle 10g client creates a connection pool and can connect to Oracle 8, Oracle8i, Oracle9i, and Oracle 10g Server. The pool contains physical connections to Oracle Server and is managed by the OCI. The pool persists until the DataWindow server terminates or OCI.dll is unloaded.

The DataWindow server can connect to 10 different Oracle servers, as distinguished by service name, concurrently. There can be no more than 20 connections per pool. Each pool is created by the Oracle9i or later client and might also contain connections to Oracle8 and Oracle8i servers. Once a connection pool has been created, the DataWindow server maintains the physical connections until it terminates or OCI.DLL is unloaded.

Examples

Example 1

To use connection pooling: