What is the recommended batch size for SqlBulkCopy
? I\'m looking for a general formula I can use as a starting point for performance tuning.
This all depends on your implementation.
What kind of speed can you expect on your network? Are you using it in Forms or ASP.Net? Do you need to alert the user of progress? What is the size of the total job?
In my experience running bulk copy without a batch size specified will cause timeout issues. I Like to start with something like 1000 records and do some adjustments from there.