Performance impact: What is the optimal payload for SqlBulkCopy.WriteToServer()?

Posted by Linchi Shea on SQL Blog See other posts from SQL Blog or by Linchi Shea
Published on Fri, 01 Jul 2011 15:54:00 GMT Indexed on 2011/07/01 16:28 UTC
Read the original article Hit count: 480

For many years, I have been using a C# program to generate the TPC-C compliant data for testing. The program relies on the SqlBulkCopy class to load the data generated by the program into the SQL Server tables. In general, the performance of this C# data loader is satisfactory. Lately however, I found myself in a situation where I needed to generate a much larger amount of data than I typically do and the data needed to be loaded within a confined time frame. So I was driven to look into the code...(read more)

© SQL Blog or respective owner

Related posts about Batch Size

Related posts about Data Load