Showplan Text Event Class
The Showplan Text event class occurs when Microsoft SQL Server executes a SQL statement. The
The Showplan Text event class occurs when Microsoft SQL Server executes a SQL statement.
The information included is a subset of the information available in Showplan All, Showplan
XML Statistics Profile or Showplan XML event class.
When the Showplan Text event class is included in a trace, the amount of overhead will
significantly impede performance. To minimize this, limit use of this event class to traces that
monitor specific problems for brief periods of time. Showplan Text will not incur as much
overhead as other Showplan event classes.
When the Showplan Text event class is included in a trace, the BinaryData data column must be
selected. If it is not, information for this event class will not be displayed in the trace.
Description
ApplicationName
Name of the client application that created the
connection to an instance of SQL Server. This
column is populated with the values passed by
the application rather than the displayed name
of the program.
10
Yes
BinaryData
Estimated cost of the Showplan text.
2
No
ClientProcessID
ID assigned by the host computer to the process
where the client application is running. This data
column is populated if the client process ID is
provided by the client.
9
Yes
DatabaseID
ID of the database specified by the USE
database
statement or the default database if no
USE
database
statement has been issued for a
given instance. 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.
3
Yes
ノ
Expand table