QuestionQ75

VerifiedSalesforce Integration Capabilities

A customer loads data from an external system into Salesforce through Bulk API. These jobs use batch sizes of 2000 and run in parallel mode. The batches frequently fail with the error “Max CPU time exceeded”. A smaller batch size will resolve this error.

Which two options should be considered when using a smaller batch size?

Choose two
Explanation

Smaller Bulk API batches increase the number of batches required for the same load. The additional per-batch overhead and queueing can increase the total time needed to complete bulk jobs. In parallel processing, the larger number of submitted batches can also encounter the Bulk API concurrent-batch constraint. Record-locking failures arise from concurrent operations on overlapping records or related records, rather than being an inherent consequence of a smaller batch size.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!