Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

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

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: General Forum Members
Last Login: Thursday, June 26, 2014 1:18 AM
Points: 90, Visits: 135
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: Saturday, August 30, 2014 9:14 AM
Points: 1,258, Visits: 13,554
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: http://technet.microsoft.com/en-us/library/ms176064(v=sql.105).aspx



rfr.ferrari
DBA - SQL Server 2008
MCITP | MCTS

remember is live or suffer twice!
Post #1500795
Posted Wednesday, October 2, 2013 9:54 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 3:43 PM
Points: 43,047, Visits: 36,206
Take a read through this: http://www.sqlservercentral.com/articles/Corruption/65804/


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
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