dbTalk Databases Forums  

Incremental load never finishes

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Incremental load never finishes in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tj_dc
 
Posts: n/a

Default Incremental load never finishes - 03-17-2009 , 01:49 AM






I have a SSIS 2005 package with a dataflow that does a merge join between the
source table on another server and the staging table to determine which rows
should be inserted into the staging table and which rows should be deleted
from the staging table.
However it seems like there's a kind of locking problem as the proces doing
the delete is locked by the proces doing the insert operation. The insert
operation is waiting for ASYNC_NETWORK_IO and never completes.
If I manually delete all rows from the staging table before the dataflow
runs it completes successfully in a few seconds. The OLE DB destination
doesn't do table locking. Why doesn't the insert operation complete as it in
SSMS Activity monitor doesn't wait for any locks and how can this problem be
avoided?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.