sa_procedure_profile reports information about the execution time for each line within procedures, functions, events, or triggers executed in a database.
Column name |
Description |
---|---|
object_type |
Identifies the object type:
|
object_name |
Lists the name of the object. |
owner_name |
Lists the owner of the object. |
table_name |
Identifies the table associated with a trigger (the value is NULL for other object types). |
Line_number |
Identifies the line number within the procedure. |
executions |
Lists the number of times the object has been called |
Milliseconds |
Lists the objects execution time |
percentage |
Identified the percentage of the total execution time required for the specific line. |
foreign_owner |
Identifies the database user who owns the foreign table for a system trigger. |
foreign_table |
Identifies the name of the foreign table for a system trigger. |