Sql server 2008 - performance tuning features for insert large amount of data

前端 未结 2 1541
执笔经年
执笔经年 2021-01-06 12:44

I have to insert large amount of data into a table. Does sqlserver 2008(compared to 2005) has any new features to increase the performance in this case ?

2条回答
  •  不思量自难忘°
    2021-01-06 13:06

    SQL Server 2008 contains the MERGE TSQL statement which can speed up certain types of combined INSERT, UPDATE and DELETE operations.

    If you are intending to perform through code, I would suggest using the System.Data.SqlClient.SqlBulkCopy class (but also present in SQL Server 2005).

提交回复
热议问题