bmsande
asked on
SQL Server - reporting on locked tables
We have an Enterprise Content Mgmt app connected to SQL 2008 R2. Lately we've encountered locked tables. Is it possible to run historical reports on previous locks, or can this only be obtained at the time the table is locked?
I'm aware of sp_who2 but as far as I know that's only helpful at the time of the lock. We're trying to gather information on performance issues from last week.
Thanks in advance.
I'm aware of sp_who2 but as far as I know that's only helpful at the time of the lock. We're trying to gather information on performance issues from last week.
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Is it possible to run historical reports on previous locks, or can this only be obtained at the time the table is locked?It's only possible when it happens unless you have some kind of monitoring tool active (SCOM for example) or a profiler running constantly on the instance.
Do you know when the locks usually happens? If so you can set a trace to run during that period to try to capture the locks.
Open in new window