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

High volume PEGA0005 alerts at sppr_aggregate_usage



A large number of PEGA0005 alerts are generated for the below SQL query,

SQL: {call dbo.sppr_aggregate_usage ()} inserts: *

Error Messages

PEGA0005 alert

Steps to Reproduce

Not Applicable

Root Cause

A defect or configuration issue in the operating environment.

The retention of hourly and daily usage is high. This caused the alert when the data is groomed each day.


Make the following change to the operating environment:
  1. Stop the application (all JVMs - online and batch).
  2. Truncate the below tables:

    - pr_daily_usage
    - pr_hourly_usage

  3. Execute the below Update queries:

    * update <schema>.pr_license_parameters set pyvalue = 50 where pyname = 'pyRetainHourly';
    * update <schema>.pr_license_parameters set pyvalue = 91 where pyname = 'pyRetainDaily';

  4. Restart the application.

Published October 18, 2019 - Updated October 8, 2020

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