SSIS Data Flow Task hangs on excecution of Pre-excecute phase

前端 未结 9 590
既然无缘
既然无缘 2020-12-29 21:11

I have a Data Flow Task that is hanging on excecution.
The flow is simple, makes two queries to different tables (Both with a couple of joins), then sorts and merges th

9条回答
  •  不知归路
    2020-12-29 21:28

    This problem is still active with SQL Server 2012/2014.

    None of the solutions mentioned above helped. In fact, nothing changed delaying validation, changing the configuration of the OLD DB Destination or OLE DB Connection.

    Reading the thread from this link: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/35a484c7-4850-4f86-b14a-5dfb50491ab2/long-duration-preexecute-phase?forum=sqlintegrationservices

    it is suggested that the problem is with the execution plan.

    This was true for my case and adding a condition 1=1 to my OLE DB Source configuration forced SQL server to generate a new execution plan that fixed the issue for me.

提交回复
热议问题