我有一个由两个实例组成的 Windows Azure 角色。有时,事务会失败,并出现 SqlException
和以下文本
Transaction (Process ID N) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
现在我用 Google 搜索了一段时间并阅读了 this post关于使用 SQL Server 日志识别死锁。
问题是...
如何在 SQL Azure 中执行此操作?我使用什么工具来访问 SQL Azure 的内部并获取足够的数据?
最佳答案
与 SQL Server 相比,SQL Azure 的监控受到更多限制,但您可以更方便地查看这些工具:
关于sql-server - 如何识别 SQL Azure 中的死锁?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7993882/