3

I am currently using Bulk API v1 query job to extract data out of Salesforce. In this case by using pkChunking, extract job of 150k records completes within 30-40 seconds. However, now when I am planning to move to Bulk API v2, for extracting same data it is taking more than 6minutes(see attached screenshot). Can this time be reduced to be inline with the Bulk API v1 performance?

In case of Bulk API v1, by using pkChunking header we were able to split data into batches & it was faster, I don't see this behaviour in bulk api v2.

enter image description here

1 Answer 1

0

Salesforce Documentation States

Documentation

"Bulk API 2.0 query jobs enable asynchronous processing of SOQL queries. Bulk API 2.0 is optimized to chunk large query jobs if the object being queried supports chunking.

The API automatically handles retries. If you receive a message that the API retried more than 15 times, apply a filter criteria and try again."

However, the timings you observe on the "Monitor Bulk Data Load Jobs" could vary broadly based on the resource availability on the instance the job is running on.

At present there is no guarantee or SLA on Bulk API batch processing time because the asynchronous processes depend on the server resource availability as per The Force.com Multitenant Architecture .

Supporting Articles below:

Varying SLA Documentation

Description of Asynchronous processing in Salesforce

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .