为什么批量插入会阻止 MS SSIS 中的更新?
我有一个像这样设置的 SSIS 包:
SSIS 流 http://www.invativa。 se/Images/Support/support.PNG
如果我仅运行新行流程,批量插入就可以顺利完成,但一旦我连接实时行 em> flow 包无限期地停止。当我检查活动监视器时,更新新表行任务停止,被插入新行任务阻止。
为什么批量插入未完成?我该怎么做才能让包执行?
注意:我很清楚这可能不是最佳的,但我真的很想得到问题的答案。谢谢!
I have an SSIS package set up like this:
SSIS flow http://www.invativa.se/Images/Support/support.PNG
If I run only the New Rows flow the Bulk Insert finishes without a problem, but as soon as i connect the Live Rows flow the package stalls indefinitely. When I check the activity monitor the Update Newer Table Rows task stalls, blocked by the Insert New Rows task.
Why does the Bulk Insert not finish? What can I do tho make the package execute?
NB: I'm well aware that this might not be optimal, but I'm really interested in getting answers to the question as it is stated. Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果我不得不猜测,我会说新行批量插入操作正在目标表上放置表锁,因此,在释放表锁之前,其他操作无法完成。
If I had to guess, I would say the New Rows bulk insert operation is putting a table lock on the target table, and therefore, the other operation cannot finish until the table lock is released.
如果双击“插入新行”任务,您将看到一个显示“表锁定”的复选框。尝试取消选中它。
If you double click the Insert new rows task, you will see a check box that says table lock. Try unchecking it.