Question

I am looking at data captured with the help of sp_whoisactive.

session_id: 1016
blocked_session_count: 24
Login_time : 29/03/2018  12:14:59
tran_start_time : 29/03/2018  12:14:59
start_time: 29/03/2018  12:15:59
status: sleeping
open_tran_count :1

The login_time and tran_start_time are the same for this session_id. But start_time is after a minute.

Does this mean the session entered sleeping state @ 29/03/2018 12:15:59 ??

Thank you :)

Was it helpful?

Solution

[tran_start_time] - Date and time that the first transaction opened by a session caused a transaction log write to occur.

[start_time] - For active requests, shows the time the request started | For sleeping sessions, shows the time the last batch completed

[login_time] - Shows the time that the session connected

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top