Transaction (Process ID xxx) was deadlocked on lock

Posted 龍☆

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Transaction (Process ID xxx) was deadlocked on lock相关的知识,希望对你有一定的参考价值。

Transaction (Process ID 161) was deadlocked on lock | communication buffer resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

--This will cause read transactions to not take any locks and not be blocked by existing locks
ALTER DATABASE [febdb_SHIMAO] SET SINGLE_USER WITH ROLLBACK IMMEDIATE
ALTER DATABASE [febdb_SHIMAO] SET READ_COMMITTED_SNAPSHOT ON;
ALTER DATABASE [febdb_SHIMAO] SET ALLOW_SNAPSHOT_ISOLATION ON;
ALTER DATABASE [febdb_SHIMAO] SET MULTI_USER

目前还不确认问题是否已解决。

以上是关于Transaction (Process ID xxx) was deadlocked on lock的主要内容,如果未能解决你的问题,请参考以下文章

No EntityManager with actual transaction available for current thread - cannot reliably process '

创建摘要视图

Django使用transaction.atomic“死锁”

以太坊 事务ID txID transaction ID transaction hash怎么计算

Oracle 压缩/b-tree 索引如何以及何时使用

Paypal 处理 - 需要获取 Transaction Id、Correlation Id 和 TimeStamp