[SalesForce] Bulk api query batch size limit is 10,000 records

When running bulk api query, batch size limit is 10,000 records (from documentation: A batch can contain a maximum of 10,000 records.)
What can I do if my query result is bigger than 10000, how can I retrive the rest of the data?

I saw that the rest API returns nextRecordsUrl. Maybe I'm looking for something like that but in Bulk api.

Best Answer

The batch size thats specified in the document is for a single batch.You can process as many batches as you like limiting to 2000 per 24 hour rolling period.

10k is the maximum batch size that you can set per batch.So say you have 50K records then 5 batches will be the minimum no of batches required .

Bulk API can process any no of records .Only limit you may have to look is no of batches per day.This limit is 2000 batches per 24 hour .(On rolling basis)

Related Topic