What can happen if CHECKDB maintenance job is killed in the middle ?

  • Hi,

    I would like to know , just in case CHECKDB maintenance job is running for 5 hours and admin chosen to kill that operation.

    Usually the job takes not more than 2 hrs.

    What can happen if CHECKDB is killed in the middle of process?

    What are steps to be taken care even before thinking of killing CHECKDB operation ?

    Did anyone faced this situation any time? if so, please do share on how to handle such situation.

    Thanks in advance.

  • Oracle_91 (5/21/2014)


    What can happen if CHECKDB is killed in the middle of process?

    The CheckDB operation stops.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Is there anything happens internally because even the KILL takes a long time.

  • No.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thank you Gail. Again, in the fist place , is it perfectly safe to KILL checkdb operation if required?

  • It's perfectly safe to kill anything (well, unless your developers have written procedures which don't use transactions, but that's not a SQL internals problem)

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thank you 🙂

Viewing 7 posts - 1 through 6 (of 6 total)

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