Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

hep needed in dbcc checkdb Expand / Collapse
Posted Wednesday, October 2, 2013 8:06 AM


Group: General Forum Members
Last Login: Today @ 8:59 AM
Points: 109, Visits: 155
Hi last night at one of client side we had one of our databases RECOVERY PENDING state.what it is .I searched for error log but found nothing that database had % recovered so as suggest told by senior dba took steps of emergency followed by single user and then checkdb.

checkdb did not find any allocation or consistency error what are both, what is difference between them and what is more lethal

after tha i rune checkdb repair_allow_data_loss command it to did not find anything but my database was up.i heard there is also option of repair_rebulid.

what`s difference between "repair_allow_data_loss" and "repair_rebulid"

issue was that log file of that particular database was full so i shrinked log file once database was up

thanks and regards
Anoop Pandey
Post #1500785
Posted Wednesday, October 2, 2013 8:24 AM

Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Friday, November 25, 2016 5:31 AM
Points: 1,265, Visits: 13,618
hi anoop.mig29

repair_rebuild, indicate that case find any error, this should be repaired, no data loss!
allow_repair_data_loss, allow the possible data loss, if find any error!

follow micrisoft's documentation:
DBA - SQL Server 2008

remember is live or suffer twice!
the period you fastest growing is the most difficult period of your life!
Post #1500795
Posted Wednesday, October 2, 2013 9:54 AM



Group: General Forum Members
Last Login: Saturday, December 3, 2016 5:18 AM
Points: 45,619, Visits: 44,147
Take a read through this:

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

Post #1500824
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse