The date and time that the unit of work first required database resources.
Table Function | Monitor Element Collection Level |
---|---|
MON_GET_UNIT_OF_WORK table function - Get unit of work metrics | Always collected |
MON_GET_UNIT_OF_WORK_DETAILS table function - Get detailed unit of work metrics (reported in DETAILS XML document) | Always collected |
Snapshot Level | Logical Data Grouping | Monitor Switch |
---|---|---|
Application | appl | Unit of Work, Timestamp |
DCS Application | dcs_appl | Unit of Work, Timestamp |
Event Type | Logical Data Grouping | Monitor Switch |
---|---|---|
Unit of work | - | - |
Transaction | event_xact | - |
The database system monitor excludes the time spent between the COMMIT/ROLLBACK and the next SQL statement from its definition of a unit of work. This measurement method reflects the time spent by the database manager in processing database requests, separate from time spent in application logic before the first SQL statement of that unit of work. The unit of work elapsed time does include the time spent running application logic between SQL statements within the unit of work.
You may use this element with the uow_stop_time monitor element to calculate the total elapsed time of the unit of work and with the prev_uow_stop_time monitor element to calculate the time spent in the application between units of work.
You can use the uow_stop_time and the prev_uow_stop_time monitor elements to calculate the elapsed time for the SQL Reference definition of a unit of work.