Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Performance degrades when working in a cloned environment



Performance degrades when working in a cloned environment.

Error Messages

Not Applicable.

Steps to Reproduce

  1. Clone an environment
  2. Check in or check out the code

Root Cause

There was a type cast exception that resulted in database connection leak (connections are not returning to pool).
The pr_engine_classes, pr4_rule, pegadata.pr_index, pr4_rule_sysgen tables are fragmented and pr_engine_classes alone consumed 84% CPU.


Perform the following local-change:

Remove the bloat in all these tables and tune Autovacuum (vacuum threshold and worker threads) post to the activities.


Published August 19, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us