有谁知道如何设置ssis包的死锁优先级?我正在运行一个包,在缓慢变化的维度任务中,它会抛出死锁错误。
Transaction (Process ID 75) was deadlocked on resources with another process
and has been chosen as the deadlock victim. Rerun the transaction.
我想将此优先级设置为高,因此不会导致此错误。
感谢。
答案 0 :(得分:0)
我之前没有遇到过这个问题,因此很难在我这边复制。但是,我相信您应该尝试更改事务隔离级别以查看是否可以修复错误。要执行此操作,请在“控制流”中单击灰色背景,以便在属性窗口中显示包的属性。向下滚动到“交易”,您将在那里看到它。
有关该主题的其他信息:
https://docs.microsoft.com/en-us/sql/connect/jdbc/understanding-isolation-levels
https://docs.microsoft.com/en-us/sql/integration-services/integration-services-transactions