Skip to main content

Table of Contents

Updating the rule usage snapshot parameters


Only available versions of this content are shown in the dropdown

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.

    On a large system with thousands of rules in use, set a larger committhreshold value to reduce the shutdown delay.
Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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