hep needed in dbcc checkdb

  • 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

  • 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

    [font="Times New Roman"]rfr.ferrari[/font]
    DBA - SQL Server 2008

    remember is live or suffer twice!
    the period you fastest growing is the most difficult period of your life!
  • Take a read through this: http://www.sqlservercentral.com/articles/Corruption/65804/

    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

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply