Blocked Process Report Event Class
The Blocked Process Report event class indicates that a task has been blocked for more than a specified amount of time. This event class does not include system tasks or tasks that are waiting on non deadlock-detectable resources.
To configure the threshold and frequency at which reports are generated, use the sp_configure command to configure the blocked process threshold option, which can be set in seconds. By default, no blocked process reports are produced. For more information about setting the blocked process threshold option, see blocked process threshold Server Configuration Option.
For information about filtering the data returned by the Blocked Process Report event class, see Filter Events in a Trace (SQL Server Profiler), Set a Trace Filter (Transact-SQL), or sp_trace_setfilter (Transact-SQL).
Data column name
ID of the database in which the lock was acquired. SQL Server Profiler displays the name of the database if the ServerName data column is captured in the trace and the server is available. Determine the value for a database by using the DB_ID function.
The amount of time (in milliseconds) that the process was blocked.
Time at which the event ended. This column is not populated for starting event classes, such as SQL:BatchStarting or SP:Starting.
Type of event = 137.
The sequence of a given event within the request.
ID for the index on the object affected by the event. To determine the index ID for an object, use the indid column of the sysindexes system table.
Indicates whether the event occurred on a system process or a user process. 1 = system, 0 = user.
Security identifier (SID) of the logged-in user. This event is always reported from the system thread. IsSystem = 1; SID = sa.
The state the event has received or is requesting.
System-assigned ID of the object on which the lock was acquired, if available and applicable.
Name of the instance of SQL Server being traced.
The login name of the user that originated the session. For example, if you connect to SQL Server using Login1 and execute a statement as Login2, SessionLoginName shows Login1; and LoginName shows Login2. This column displays both SQL Server and Windows logins.
Text value dependent on the event class captured in the trace.
System-assigned ID of the transaction.