STATMAN queries causing you timeouts?

If you have a query executing having unexpected slowness or timeouts but at the same time you see queries referencing statman, you might be running into an issue of synchronous statistics updates. By default SQL Server performs automatic statistics updates synchronously.  This means when the threshold for requiring a statistics update is reached statistics are […]

Read More

What does the status column of a session mean in SQL Server?

You might notice there is a status column when you look at active executing requests in either sys.dm_exec_requests, sys.dm_exec_sessions, or sysprocesses.  The status column indicates a general status of what the session is doing. background Usually these sessions aren’t a concern.  Not much interesting happening as they are typically housekeeping tasks. rollback You’ll see this […]

Read More