2

Apex batch processing is not a good solution for a one-time operation inserting 6.5 million records from an external source. You want the Bulk API, which is specifically designed for manipulating data via ETL in very large volumes. There are many Bulk API clients available, including the Salesforce Data Loader, Workbench, Amaxa (which I wrote), and various ...


1

According to the doc. Number of synchronous concurrent transactions for long-running transactions that last longer than 5 seconds for each org: 10 It would seem like your mulesoft process, together with any other integration you might be having going on, goes over this limit. (so that you have more than 10 concurrent transactions that take longer ...


1

It depends on whether this is a one-time load, or frequent sync process. For one-time loads, the standard approach for up to 5 million records is to use the Data Loader. To speed up the processing, load a case with SF to request deferred sharing calculation. Also see if you can disable triggers and workflows. https://help.salesforce.com/articleView?id=...


Only top voted, non community-wiki answers of a minimum length are eligible