Interactions cache


An overview of the interaction cache facet's configuration options and calculation logic.

The interactions cache represented by the InteractionsCache class. The interactions cache stores information about the contact’s interactions and events, and is used for behavioral search when then underlying search provider does not support joins.

Configuring the interactions cache

The following configuration options are defined in two locations in the \App_data\config\sitecore\Collection\sc.XConnect.Collection.Model.Plugins.xml configuration file. You must update the configuration values in both locations:

  • <IContactMergeHandler.InteractionsCacheHandler>

  • <ICalculatedFacetHandler.InteractionsCacheHandler>


The interactions cache is used heavily by the Marketing Automation Engine. Conditions that rely on interaction data that exceeds MaximumInteractionPeriod may not evaluate correctly. You must tune the interactions cache to suit your automation plan conditions.




Specifies the maximum number of items in the cache for a given category, such as goals, page events, and so on.

The default value is 50 entries.


Specifies the maximum period for interactions that xDB uses during cache rebuilds or updates.

The default value is 30 days.


Specifies the maximum number of interactions that xDB examines during cache rebuilds or updates.

The default value is 25 interactions.