Search results matching tags 'SQL Server', 'ssis', and 'OLE DB Destination'http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&tag=SQL+Server,ssis,OLE+DB+Destination&orTags=0Search results matching tags 'SQL Server', 'ssis', and 'OLE DB Destination'en-USCommunityServer 2.1 SP2 (Build: 61129.1)Default value for OLE DB Destination FastLoadMaxInsertCommitSize in SQL Server 2008 [SSIS]http://sqlblog.com/blogs/jamie_thomson/archive/2010/03/06/default-value-for-ole-db-destination-fastloadmaxinsertcommitsize-in-sql-server-2008.aspxSat, 06 Mar 2010 09:12:00 GMT21093a07-8b3d-42db-8cbf-3350fcbf5496:22873jamiet<p>The FastLoadMaxInsertCommitSize property of the OLE DB Destination is used to determine how many rows should be committed as a single transaction when using the FastLoad option. In SQL Server Integration Services (SSIS) 2005 the default value for this property was zero which meant “regardless of the number of rows, commit all of them under a single transaction”. In SSIS 2008 that default value changed to 2147483647 meaning that SSIS would commit rows after approximately 2.15 billion and I was puzzled as to why so <a href="http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/f61e318a-b216-4391-93db-2c269377024d/?prof=required">I asked the question</a> on the <a href="http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/threads">SSIS forum on MSDN</a>. Bob Bojanic, a developer on the SSIS team, replied with the following:</p> <blockquote> <p><i>In SQL Server 2008, SQLServer Engine is acquiring a different set of locks than it used to do for SQL Server 2005. This change on the lock is creating a conflict in the SSIS pipeline causing an application deadlock. This was happening when packages used bulk-insert and update into the same table at the same time.</i></p> <p><i>We changed the default value of this property to avoid the mentioned deadlock. There is also the upgrade code which changes the value of this property when SQL Server 2005 packages are upgraded.</i></p> </blockquote> <p>So, now you know! Setting FastLoadMaxInsertCommitSize=2147483647 won’t affect you unless you’re inserting more than that many rows; if you ARE inserting more than 2147784647 rows then let me know because I’d love to hear about it :)</p> <p><a href="http://twitter.com/jamiet">@JamieT</a></p>