syscollector_execution_log_full (Transact-SQL)


Updated: June 10, 2016

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

Provides information about a collection set or package when the execution log is full.

Column nameData typeDescription
log_idbigintIdentifies each collection set execution. Used to join this view with other detailed logs. Is nullable.
parent_log_idbigintIdentifies the parent package or collection set. Is not nullable. The IDs are chained in the parent-child relationship, which enables you to determine which package was started by which collection set. This view groups the log entries by their parent-child linkage and indents the names of the packages so that the call chain is clearly visible.
namenvarchar(4000)The name of the collection set or package that this log entry represents. Is nullable.
statussmallintIndicates the current status of the collection set or package. Is nullable.

Values are:

0 = running

1 = finished

2 = failed
runtime_execution_modesmallintIndicates whether the collection set activity was collecting data or uploading data. Is nullable.
start_timedatetimeThe time that the collection set or package started. Is nullable.
last_iteration_timedatetimeFor continuously running packages, the last time that the package captured a snapshot. Is nullable.
finish_timedatetimeThe time the run completed for finished packages and collection sets. Is nullable.
durationintThe time, in seconds, that the package or collection set has been running. Is nullable.
failure_messagenvarchar(2048)If the collection set or package failed, the most recent error message for that component. Is nullable. To obtain more detailed error information, use the fn_syscollector_get_execution_details (Transact-SQL) function.
operatornvarchar(128)Identifies who started the collection set or package. Is nullable.
package_execution_iduniqueidentifierProvides a link to the SSIS log table. Is nullable.
collection_set_idintProvides a link to the data collection configuration table in msdb. Is nullable.

Requires SELECT for dc_operator.

Data Collector Stored Procedures (Transact-SQL)
Data Collector Views (Transact-SQL)
Data Collection

Community Additions