SSIS- OleDb Fast Load vs. Bulk Insert Task

▼魔方 西西 提交于 2019-12-10 23:55:27

问题


I have done research including threads on this forum but cant seem to find an answer.

I am loading text files with 40 columns. No transformation at this time. There are 8 files ~25MB with a total of 1,400,000 rows. Using Bulk Insert task the load completes in 3 minutes. Using OleDb destination and flat file input connection manager the load completes in 30 minutes.

From all I have read, SSIS should be using Bulk Inserts behind the OleDb connection. If so, why is there such a dramatic difference? I must be doing something wrong, any ideas?

Using all defaults for the connection. Table or View fast load. Blank rows per batch and max commit size 2,147,483,674. I am using Sql2016 but have had similar results testing with Sql2014.


回答1:


You might not setting up the properties of Data Flow Task such as DefaultBufferSize and DefaultBufferMaxRows.



来源:https://stackoverflow.com/questions/36727130/ssis-oledb-fast-load-vs-bulk-insert-task

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!