Skip to main content

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.

Support Article

Performance degrades when running Distribution test

SA-51571

Summary



In the production system, running a Distribution test for an Outbound Marketing Campaign for a segment containing 500,000 users takes more than five hours. However, in the Acceptance test with a comparable segment, the Distribution test runs for 20 minutes.

Set the Marketing setting to enable partitioning to True (Data Partitioning on PartitionKey is always set to value 1).



Error Messages



Not Applicable


Steps to Reproduce



Run the same campaign in two different systems.


Root Cause



The history table size was checked.

Query select count(*) from PR_DATA_IH_FACT:

Production system: 17 153 741 rows 
Acceptance system: 344 060 rows 

A lot of time was spent on the Interaction History Shape. The Interaction History table was larger in production. As a result, campaign runs took a long time to complete.

Resolution



As a local-change, enable partitioning to distribute the campaign run.

 
Suggest Edit

Published October 6, 2018 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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