Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Constraint Violating Yak Guru

272 Posts

Posted - 05/23/2013 :  00:35:27  Show Profile  Reply with Quote

in our organsiation,CHECKDB process is not automated due to other constraints as it consumes more time if it done regularly and SQL bosses opposed on regularly.

However doing it manually is it really required to do After Hours?

what is the necessity in executing CHECKDB on main Production server rather, and why not grab the copy of DB and perform on Testing server

what main diffference will arise?

If the errors are encountered on DB is it ok to perform REPAIR_REBUILD or REPAIR_ALLOW_DATA_LOSS and what are the precautions apart from taking the good backup?

Please clarify?

Aged Yak Warrior

737 Posts

Posted - 05/23/2013 :  05:00:38  Show Profile  Send ahmeds08 a Yahoo! Message  Reply with Quote
one alternative would be:
Backup your production databases and restore them to non production environment. Then perform checkdb on non prod db.
with this you have two benefits. You will know your backups are good and then your database consistency.

REPAIR_ALLOW_DATA_LOSS will loose the data.
Go to Top of Page

Constraint Violating Yak Guru

272 Posts

Posted - 05/23/2013 :  21:04:21  Show Profile  Reply with Quote
Thanks for that. But what is the Advantage / Disadvantage on the server where the DB is residing on the same server.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000