DBCC Check DB performance issue

  • I have dbcc checkdb running on a 2 GB database but it takes about 1 minute to complete. In sys.dm_exec_requests i see DBCC is in running state and i don't see any wait type when i query sys.dm_os_waiting_tasks, the query sits in running state for most of the time. How do i see what is it exactly waiting on? Adam Mechanics sp_whoisactive does't show any wait type for this query.

  • If it is running is likely isn't waiting on anything it is executing the task that it needs to do.  You should only see a wait if the query isn't in a running state.  If DBCC CHECKDB Is finishing in a minute I don't think there is a performance issue.

  • Jack Corbett - Friday, May 25, 2018 9:06 AM

    If it is running is likely isn't waiting on anything it is executing the task that it needs to do.  You should only see a wait if the query isn't in a running state.  If DBCC CHECKDB Is finishing in a minute I don't think there is a performance issue.

    +1

  • This was removed by the editor as SPAM

  • This was removed by the editor as SPAM

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply