Applies To: SQL Server 2016 Preview
Provides resource usage and activity information about the currently executing or last executed commands in the opened connections on the server.
Applies to: tabular models, multidimensional models
The DISCOVER_COMMANDS rowset contains the following columns.
The session ID.
The number of commands executed since the start of the session.
The date and time the last command started, expressed as UTC time on the server.
The elapsed time, in milliseconds, since the start of the command.
The CPU time, in milliseconds, consumed by the command since the start of the command execution.
The accumulated number of disk reads since the start of the command.
The ccumulated value of data read from disk, in kilobytes, since the start of the command.
The accumulated number of disk writes since the start of the command.
The accumulated value of data written to disk, in kilobytes, since the start of the command.
The command text.
The server UTC date and time when the command finishes its execution.
This schema rowset is not sorted.
When using ADOMD.NET and the schema rowset to retrieve metadata, you can use either the GUID or string to reference a schema rowset object in the GetSchemaDataSet method. For more information, see Working with Schema Rowsets in ADOMD.NET.
The following table provides the GUID and string values that identify this rowset.