BatchSize
The maximum size of each batch operation to submit.
Data Type
int
Default Value
5000
Remarks
When BatchSize is set to a value greater than 0, the server splits the entire operation into smaller batches, each containing the number of rows specified by the BatchSize property. These smaller batches are submitted to the server one at a time.
When set to 0, the server submits the entire batch as a single request.
BatchSize is useful in situations where the server imposes limits on the size of requests. By splitting the operation into smaller parts, you can work around these limitations and ensure successful batch processing.
Note: For Batch Insert/Upsert operations, the maximum BatchSize is hardcoded to 5000. This means that every batch with more than 5000 records will be split into small sub batches of 5000 records.