in

SG SQL Server Usergroup

The Premier web platform for Microsoft SQL Server professionals in Singapore

Progress Monitoring Of SQL Server 2005 System Maintenance Activities

Last post 05-26-2008 12:54 PM by pethiraj. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-26-2008 12:54 PM

    • pethiraj
    • Top 10 Contributor
    • Joined on 02-26-2008
    • Singapore
    • Posts 8

    Progress Monitoring Of SQL Server 2005 System Maintenance Activities

    Hello Everyone,

    Do you know that SQL Server 2005 provide us an way to monitor what’s the current progress (Percentage Complete and Estimated Completion time) of some of the maintenances we do regularly.

    Following are the activities that can be monitored:

    DBCC CHECKDB

    DBCC CHECKTABLE

    DBCC CHECKFILEGROUP

    DBCC CHECKALLOC

    DBCC SHRINKFILE

    DBCC SHRINKDATABASE

    ALTER INDEX (Only when we use REORGANIZE option)

    Command to monitor:

    select session_id,command,cpu_time,percent_complete,estimated_completion_time

    from sys.dm_exec_requests

    Note: Again the performance of the commands depends on various factors, but the above SQL gives an good indication on how we are progressing. Unfortunately not all the activities can be monitored

    Best regards,
    Ethiraj

     

    Filed under:
Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems