【问题标题】:Deadlock priority of SSIS packagesSSIS包的死锁优先级
【发布时间】:2018-04-03 11:11:22
【问题描述】:

有人知道如何设置 ssis 包的死锁优先级吗?我正在运行一个包,在缓慢变化的维度任务中,它抛出了死锁错误。

Transaction (Process ID 75) was deadlocked on resources with another process 
and has been chosen as the deadlock victim. Rerun the transaction.

我想将此优先级设置为高,以免导致此错误。

谢谢。

【问题讨论】:

标签: sql-server ssis transactions database-administration


【解决方案1】:

我以前没有遇到过这个问题,所以很难在我这边复制。但是,我相信您应该尝试更改事务隔离级别以查看是否可以修复错误。为此,在控制流中,单击灰色背景以在属性窗口中显示包的属性。向下滚动到交易,您会在其中看到它。

关于该主题的其他信息:

https://docs.microsoft.com/en-us/sql/connect/jdbc/understanding-isolation-levels

https://docs.microsoft.com/en-us/sql/integration-services/integration-services-transactions

https://www.mssqltips.com/sqlservertip/1585/how-to-use-transactions-in-sql-server-integration-services-ssis/

【讨论】:

  • 您好,感谢您的回复。对我来说,这是干扰 SSIS 的索引。我删除了索引,运行了包,然后再次创建了索引,现在它运行良好。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-09-30
  • 1970-01-01
相关资源
最近更新 更多