BatchSize
The maximum size of each batch operation to submit.
Data Type
int
Default Value
5000
Remarks
When set to a value greater than 0, the driver splits the entire operation into smaller batches, each containing the number of rows specified in BatchSize. These smaller batches are submitted to the server one at a time.
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.