dbcc to recover corrupt pages

  • [font="Tahoma"][font="Times New Roman"]

    hi,

    is there any DBCC to recover few corrupt pages from a table?

    [/font][/font]

  • No. Corrupt means unreadable, damaged, useless. DBCC CheckDB will deallocate those pages. There's no way to recover something that's been overwritten with garbage (common corruption)

    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
  • [font="Times New Roman"]

    Can you please explain what happens when we execute DBCC CHECKDB?

    Regards,

    Anil

    [/font]

  • http://www.sqlskills.com/blogs/paul/category/CHECKDB-From-Every-Angle.aspx

    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
  • Thank you for the link it was so valuable.

    “When I hear somebody sigh, ‘Life is hard,’ I am always tempted to ask, ‘Compared to what?’” - Sydney Harris

  • Any way to do a page restore from and older backup + all log backups?

  • Ninja's_RGR'us (9/13/2011)


    Any way to do a page restore from and older backup + all log backups?

    Yes.

    http://msdn.microsoft.com/en-us/library/ms175168.aspx

    Google down in your neck of the woods?

    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
  • GilaMonster (9/13/2011)


    Ninja's_RGR'us (9/13/2011)


    Any way to do a page restore from and older backup + all log backups?

    Yes.

    http://msdn.microsoft.com/en-us/library/ms175168.aspx

    Google down in your neck of the woods?

    Sorry to interrupt, but this was not suggested in the thread so I proposed something that could solve a problem 😉

Viewing 8 posts - 1 through 7 (of 7 total)

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