Trace deadlock in Ax

2018-02-28  本文已影响0人  axxxxxxxx

参考1:https://www.axug.com/blogs/marco-van-luyk/2013/03/25/detect-deadlocks-axsql-server
参考2: https://blog.wsol.com/sql-server-locks-blocked-processes-and-two-easy-ways-to-find-them

  1. Enable the SQL trace in the option panel


    image.png
  1. Category is deadlock
image.png

然而,在SQL中的Activity monitor 中发现有一些Active Expensive query。有一些suspend query 是blkBy 某些session。
按照StackFlow 的指示 kill了一些session后可以打开了。
https://stackoverflow.com/questions/15921458/how-to-kill-stop-a-long-sql-query-immediately

image.png image.png
上一篇 下一篇

猜你喜欢

热点阅读