CONTENTS   NextPrevious  



DBPool Service

This service creates and stores database connections so that they can be reused. Along with Transaction Service, DBPool manages transactions and synchronizes the transactions in the server with those in the database. DBPool Service provides support for JDBC 2.0 compliant drivers.

Visual Administrator

Runtime Control

The system administrator can manage and create database pools at runtime from the “Runtime” control tab of Visual Administrator.

It provides sufficient information about the existing pools, and an interface to create new ones.

General Tab

When creating new pools, relevant information must be submitted as an input to the following fields of the “Settings” pane:

To create a pool, you must specify an appropriate driver for it. In the “Driver” pane the following parameters must be specified:

There are also options to start or stop, delete, or edit pools. These actions are performed by the following options, which are located in the left-hand pane of the “Runtime” tab:

Additional Tab

The “Driver specific properties” pane in this tab refers to JDBC 2.0-compliant drivers. You can specify properties that are required for the relevant JDBC 2.0-compliant driver you use – for example, serverName , portNumber , and so on. The driver-specific properties are entered  as key-value pairs. In addition, DBPool Service enables support for two types of JDBC 2.0-compliant drivers. The first type of drivers – for example, Oracle and MSSQL drivers, require the XAResource not to be delisted before the transaction is committed or rolled back. The other type of drivers – for example, Merant SequeLink driver, require XAResource delistment before the transaction is completed. The following property refers to this:

The following properties refer to connection pooling:

Note: These properties may be set only if the “pooling” indicator is set. This means that a cache for connections is used.

The following properties refer to “Transaction Support”:

Properties

There are no service-specific properties to be set by the system administrator.

Console Administrator

DBPool Service can be administered using the Shell commands from the DBPOOL command group as well.

Note: For information on DBPOOL shell commands, refer to the Shell  Commands Reference section.

Property Files

../cluster/server/services/dbpool/properties
This file does not contain any properties to be set by the system administrator.

Critical Information and Troubleshooting Tips

Special attention must be paid to configuring “Connection Pooling” and “Transaction support” properties of the DBPool Service.

It is recommended that you do not use “Connection Pooling” when the driver itself supports pooling. Such use deteriorates performance. The system administrator must be familiar with the driver-specific features.

The values of other properties in “Connection Pooling” must also be specified in accordance with system resources available to achieve optimal performance.

It is not always appropriate to use the “Transaction Support” properties. When the pool is not used in a transaction, this property must be inactive to achieve better performance. However, this is a rare case. That is why the Transaction support property is active by default.

Previous  Next