Updating the rule usage snapshot parameters
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
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
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
To change the number of rows that are saved for each database commit, set the
usage/rules/committhresholdsetting to the number of rows to be saved.On a large system with thousands of rules in use, set a larger
committhresholdvalue to reduce the shutdown delay.