Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Connection pool settings

Updated on July 8, 2022

Pega Platform is an application requiring a high database connection request and return rate. In Pega Cloud environments, Pega manages the connection pool settings across the fleet of systems that are appropriate for the range of client’s business needs, based on our experience. Pega Cloud clients cannot change or request changes to the default configuration.

For on-premises clients, to ensure that your data is persisted throughout any period of intensive database processing, Pega recommends using the following connection pool settings (on a per node basis) during the Pega Platform installation process, as described in the Installation and Update Guides:

Connection pool default settings

Per node settingRecommendation
Initial Pool Size 0
Minimum Pool Size 3
Maximum idle connection count 25
Maximum Pool Size 75
Connection Validation StrategyTest upon requesting any connection.
Connection Validation Method

Use the JDBC4 driver’s default validation method (isValid() API) instead of a providing a specific validation SQL.

Pega recommends this approach to minimize connection pool changes as database vendors provide updates to either their products or drivers. It also ensures that the pool is configured to use the vendor’s best practice for validating the connection.

Idle Connection Eviction PolicyEnabled
Eviction Thread Run Frequency5 seconds
Idle Connection Timeout1 minute
Connection Creation Wait Timeout10 seconds

These settings will allow most clients’ database connections to maintain stability and scale up or down in line with the end users and processes that are running on most client systems. Pega recommends starting with a relatively high maximum pool per node, to be able to handle high usage, a low idle timeout per node for prompt eviction, a low minimum pool per node to avoid database connection overhead during quite periods, and a reliable connection validation.

If an on-premises client's organization or specific database vendor software version recommends settings that conflict with these recommendations, a database administrator from your organization should reach out to your Pega representative to manage these settings before you install Pega software.

  • Previous topic Understanding the database structure
  • Next topic Custom connection properties required for disaster recovery

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us