September 21, 2010 at 3:12 am
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.
September 21, 2010 at 3:31 am
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
September 21, 2010 at 4:26 am
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.
September 23, 2010 at 2:50 am
Dear All,
can someone please advise on the below?
Thanks and Regards,
Ravichandra.
September 23, 2010 at 6:13 am
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