Professional Documents
Culture Documents
Blocking
Blocking
Before the DEMO make sure you delete the Database BlockingDEMO
WHERE ([database_name]=N'BlockingDEMO'))
GO
ON SERVER
STATE=START
GO
GO
RECONFIGURE
GO
GO
RECONFIGURE
GO
GO
RECONFIGURE
GO
USE [BlockingDEMO]
GO
BEGIN TRANSACTION
COMMIT
USE [BlockingDEMO]
GO
SELECT * FROM t1
Extended Events -> Right Click Properties on capture_blocking -> Watch Live Data
Extended Events -> capture_blocking -> package0.event_file -> Right Click -> View Target
Data
Double Click on the Blocked report output and view the output in XML format in a new
window