Skip to main content


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

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.

Interaction History component processes data longer than expected

Updated on September 10, 2021

The Interaction History component in a strategy takes more time to process data than expected.

Cause

This behavior can be caused by one or more of the following conditions:

  • The FACT database table contains an excessive number of records. As the transactional data in this table grows, processing time slows down.
  • The database that stores interaction history records is not optimized for quick retrieval of data.

Solution

Perform one of the following steps to increase the speed with which the Interaction History component processes data:

  • Use the pxOutcomeTime property to archive old FACT records. For example, you can archive all FACT records that are older than 31 days if your decision logic indicates that insurance policies become invalid after one month. For more information, see Applying sample scripts for archiving and purging.
  • Improve the data retrieval from the data set that contains the interaction history:
    1. Retrieve the interaction history SQL queries so that you can analyze their format and estimate the processing time. For more information, see Selecting database trace options.
    2. Based on the retrieved queries, create a database index on only the problematic columns to quickly locate data without having to search every row in a database when that database is accessed.

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