Is it possible to reduce the size of the retrieved files in the Salesforce Bulk API. Currently it creates multiple files with a maximum size of 1Gb. I would like to reduce that limit to ~100Mb. The obvious solution is to do multiple queries but it would be a lot simpler if the batches could be limited.

1 Answer 1


Current infrastructure of Bulk API does not allows user to split result from one query. So the only option is to fire multiple queries.

Bulk API Query - Splitting large query into batches

  • I ended up streaming the request and processing on the fly. It's a pretty cool solution because now it doesn't matter what size the receiving file is.
    – Gregology
    Jun 11, 2014 at 18:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.