extended events blocked process report missing from sys.dm_xe_objects

北战南征 提交于 2019-12-02 10:30:14

Unfortunately, the blocked_process_report was added as a traceable extended event in SQL Server 2012.

Since the extended events wizard(s) weren't added until SQL Server 2012, I would use the following query to view the available extended events:

SELECT *
FROM sys.dm_xe_objects AS Events
WHERE Events.object_type = 'event' AND Events.name LIKE '%blocked%'
ORDER BY Events.name;

Or even better read this EXCEPTIONALLY good article by Jonathan Kehayias.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!