Viewing 5 posts - 1 through 5 (of 5 total)
Hi Jacob,
Thanks for the help so far !!!
I have figured out the cause of such enormous locks. 🙂 🙂 There was a cleanup job scheduled on documentum server and was...
May 28, 2015 at 2:29 pm
Small correction to my earlier response :
It is Ghost cleanup process acquiring locks not the lazy writer.
Sorry for confusion.
Thanks.
May 26, 2015 at 2:09 am
Hi ,
Please find the below response :
I have addded DB name in to the output list :
Now the time for same SPID has been changed :
Start time ...
May 26, 2015 at 12:27 am
Hi ,
Modified the script a bit as :
SELECT
last_request_end_time,
host_name,
login_name,
program_name,
sysr.open_transaction_count,
is_active=ISNULL((SELECT 1 FROM sys.dm_exec_requests req WHERE req.session_id=ses.session_id),0),
ses.transaction_isolation_level,
text.text
FROM sys.dm_exec_sessions ses
INNER JOIN sys.dm_exec_connections con
ON ses.session_id=con.session_id
inner join sys.dm_exec_requests sysr
on ses.session_id=sysr.session_id
CROSS APPLY sys.dm_exec_sql_text(con.most_recent_sql_handle)...
May 25, 2015 at 4:30 pm
Hi Jacob,
Thanks for the response!
I would like to highlight the bifurcation of count of locks in the SPID (or one transaction) :
resource_typerequest_modecount of locks
OBJECT ...
May 25, 2015 at 2:37 am
Viewing 5 posts - 1 through 5 (of 5 total)