Configurable chunk sizes help you tune performance for large datasets. This setting
balances the number of records per transaction against memory consumption. By optimizing the
balance, you reduce the total number of asynchronous jobs and shorten the overall execution
time.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, Performance, and
Developer Edition.
|
| User Permissions Needed |
| Set of Permissions for Enhanced Compile Cart: |
CME Managed Package |
Before initiating the process, enable the Standard CPQ Feature and provide valid Price List
IDs to define the job's scope. Configure the NumberOfProductBundleProcessPerJob parameter to
establish the minimum baseline for all chunking operations.
-
Go to the CPQ Configuration Setup under Vlocity CMT
Administration.
-
Create or update a record with this information.
-
Name: EnableEnhancedCompileCachingMode
-
SetupValue__c: True
-
Optional Step: Set the chunk size configuration.
The system uses default chunk sizes optimized for most use cases. It only overrides the
settings with a custom JSON configuration if a specific step triggers a Governor Limit error.
Prefer the default configuration as an alternate.
Create a CPQ Configuration Setup record:
-
Name: EnhancedCompileCachingChunkingSize
-
SetupValue__c: JSON
-
See the JSON script for configuration parameters:
{"CompileContextRule": <number>,"CompilePCP":
<number>,"CompileProductHierarchy": <number>,"CompilePricing":
<number>,"CompilePriceListToPBERanges":
<number>,"CompilePromoItems": <number>}