CHECKDB

  • Dear All,

    Can you please confirm whether it's fine to schedule/run the CHECK DB on production databases on weekly basis on non peak hours? or is there any impact?

    Thanks and Regards,

    Ravichandra.

  • You need to run it, and in non-peak hours is the best time.

    Is weekly enough? Well, depends on how long you retain backups. Ideally you should be running CheckDB often enough that should it find corruption restoring from a clean backup without data loss is always an option. So if you only retain 2 days of backups, you ideally want to be running checkDB once every 2 days at minimum.

    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
  • Dear Gail Shaw,

    Thanks.

    Full backups are running on Weekend i.e, Sunday.

    Iam planning to schedule /run it (CHECKDB) on Saturday.

    Is it fine to run update statistics( sp_updatestats) after CHECKDB?please

    I have one more doubt, Will statistics update automatically when index rebuilt done?

    Thanks and Regards,

    Ravichandra.

  • Dear All,

    can someone please advise on the below?

    Thanks and Regards,

    Ravichandra.

  • ravisamigo (9/21/2010)


    Dear Gail Shaw,

    Thanks.

    Full backups are running on Weekend i.e, Sunday.

    Iam planning to schedule /run it (CHECKDB) on Saturday.

    Is it fine to run update statistics( sp_updatestats) after CHECKDB?please

    yes

    have one more doubt, Will statistics update automatically when index rebuilt done?

    dbcc dbreindex yes, dbcc indexdefrag, no

    ---------------------------------------------------------------------

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

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