Interaction History component processes data longer than expected
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:
- 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.
- 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.
Previous topic Incorrect order of events Next topic Interaction History tables are not upgraded after migration