SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

dbalearner
Constraint Violating Yak Guru

261 Posts

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

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?

ahmeds08
Aged Yak Warrior

India
625 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.

mohammad.javeed.ahmed@gmail.com
Go to Top of Page

dbalearner
Constraint Violating Yak Guru

261 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  
 New 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.05 seconds. Powered By: Snitz Forums 2000