BatchSize
The maximum size of each batch operation to submit.
Data Type
int
Default Value
5000
Remarks
This property controls the size of each batch submitted during batch operations. When set to a value greater than 0, the driver splits the entire operation into smaller batches, each containing the specified number of rows. These smaller batches are submitted to the server individually.
This property is useful for scenarios 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.