Skip to main content


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

Understanding the unique features of the Pega Platform database

Updated on May 11, 2022

The Pega Platform database and the tables within it are structured in a unique way. By understanding how the database is structured, you are better able to support system upgrades and to be responsive to changes in data utilization.

To use other databases in your Pega application to accomplish your workflows, see Creating database data instances

Connection pool settings for your Pega Platform database

Pega Infinity is an application requiring a high database connection request and return rate. In Pega Cloud services 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. Clients cannot change or request changes to the default configuration.

For clients not using Pega Cloud services environments, 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
Socket Timeout90 seconds
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 a non-Pega Cloud services 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.

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