Skip to main content


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

Updating the rule usage snapshot parameters

Updated on May 11, 2022

Pega Platform maintains statistics about the number of rule executions since startup. You can update the parameters that the system uses for capturing these statistics.

Two prconfig.xml settings control this facility:

  • usage/rules/shapshotonshutdown – Controls whether statistics are saved on system shutdown. The default is true.
  • usage/rules/committhreshold – The number of rows to be saved for each database commit operation. Rows will be saved and committed until all of the rows have been committed. The default number of rows is 100.

You can change the settings in the prconfig.xml file and restart the server, or update these as dynamic system settings.

  • To prevent shutdown statistics from being saved, set the usage/rules/shapshotonshutdown setting to false.
  • To change the number of rows that are saved for each database commit, set the usage/rules/committhreshold setting to the number of rows to be saved.
    Tip: On a large system with thousands of rules in use, set a larger committhreshold value to reduce the shutdown delay.

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