Siebel Analytics Server Administration Guide > Working in a Repository's Physical Layer > Physical Layer Objects >

Working with Connection Pools


A connection pool contains information about the connection between the Siebel Analytics Server and a data source. The Physical layer in the Administration Tool contains at least one connection pool for each database. You can configure multiple connection pools for a database. Connection pools allow multiple concurrent data source requests (queries) to share a single database connection, reducing the overhead of connecting to a database.

For each connection pool, you must specify the maximum number of concurrent connections allowed. Once this limit is reached, the Analytics server routes all other connection requests to another connection pool or, if no other connection pools exist, the connection request waits until a connection becomes available.

Increasing the allowed number of concurrent connections can potentially increase the load on the underlying database accessed by the connection pool. Test and consult with your DBA to make sure the data source can handle the number of connections specified in the connection pool. Also, if the data sources have a charge back system based on the number of connections, you might want to limit the number of concurrent connections to keep the charge back costs down.

In addition to the potential load and costs associated with the database resources, the Siebel Analytics Server allocates shared memory for each connection upon server startup. Therefore, raising the number of connections increases Siebel Analytics Server memory usage.

This section includes the following topics:

Creating or Editing a Connection Pool

Use the General tab of the Connection Pool dialog box to create or edit a connection pool in the Physical layer of the Administration Tool. You must create a database object before you create a connection pool.

To create or edit a connection pool

  1. In the Physical layer of the Administration Tool, do one of the following:
  2. Enter a name for the connection pool.
  3. Select a call interface.
  4. NOTE:  If the call interface is XML, the XML tab becomes active and options that do not apply to XML data sources will not be available.

  5. Specify the maximum number of connections for the pool.
  6. Select the option Require fully qualified table names if the database requires it.
  7. Select or enter the data source name that the connection pool will access.
  8. The drop-down list shows the User and System DSNs configured on your system.

  9. If the connection pool uses a shared logon, select the option Shared logon and specify a user ID and password for the source.
  10. To allow a single database connection to remain open for a specified number of minutes for use by future query requests, select the option Enable connection pooling.
  11. NOTE:  If you do not select this option, each query sent to the database will open a new connection.

  12. Enter the number of minutes that a connection to the data source will remain open after a request completes in the Timeout text box.
  13. Select the option Execute queries asynchronously for data sources that support asynchronous queries.
  14. To specify a command to be executed each time a connection is made to the database, enter the command string in the Execute on Connect text box.
  15. Select an isolation level, if applicable.
  16. (Optional) Enter a description of the connection pool.
  17. Click Permissions to open the Permissions dialog box, where you can assign user or group permissions to the connection pool.
  18. For information about assigning permissions to a connection pool, see Setting Permissions for Repository Objects.

  19. Complete the XML tab if you specified XML as the data source.

Setting Properties for an XML Data Source

Use the XML tab of the Connection Pool dialog box to set additional properties for an XML data source.

NOTE:  The XML tab of the Physical Table dialog box provides the same functionality as the XML tab of the Connection Pool dialog box. However, the properties you set in the XML tab of the Physical Table dialog box override the corresponding settings in the Connection Pool dialog box.

To set connection properties

  1. (Optional) If you specified a URL to access the data source, set the URL refresh interval:
    1. Select a value from the drop-down list (Infinite, Days, Hours, Minutes or Seconds).
    2. Specify a whole number as the numeric portion of the interval.
    3. The refresh interval for XML data sources is analogous to setting cache persistence for database tables. The URL refresh interval is the time interval after which the XML data source is to be re-queried directly rather than using results in cache. The default setting is infinite, meaning the XML data source will never be refreshed.

  2. (Optional) If you specified a URL to access the data source, set the URL loading time-out:
    1. Select a value from the drop-down list (Infinite, Days, Hours, Minutes or Seconds).
    2. Specify a whole number as the numeric portion of the of the interval.
    3. The default time-out interval for queries (URL loading time-out) is 15 minutes.

To specify query output format settings

  1. (Optional) For an XSLT file, enter the path to and name of the XSLT file in the XSLT File field, or use the Browse button.
  2. (Optional) For an XPath expression, enter the XPath expression in the XPath Expression field, for example, //XML, or use the Browse button.

 Siebel Analytics Server Administration Guide 
 Published: 23 June 2003