Unix Technical Forum

Torn Page Error

This is a discussion on Torn Page Error within the SQL Server Data Warehousing forums, part of the Microsoft SQL Server category; --> Hi All, Quick question... I've found that a database in our system has encountered a torn page error. DBCC ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server Data Warehousing

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 07:52 PM
Tam OShanter
 
Posts: n/a
Default Torn Page Error

Hi All,
Quick question...
I've found that a database in our system has encountered a torn page error.

DBCC CheckDB hasn't worked any wonders so we're going to restore from a
backup.

The torn page error began occuring several days ago.

Can we restore successfully from a backup taken after the torn page occured?

Or do we need to go and retrieve the last backup taken prior to the torn
page?


Also, the server is still functioning fine, wondering if we can simple move
the data from one datatase (the one with the torn page) to another new one
on the same machine.

Thanks,

Tam.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 07:53 PM
Brian R
 
Posts: n/a
Default Re: Torn Page Error

Torn Pages arise because the page is sent to the hard disk which returns a
receipt back to SQL Server over the bus. Unfortunately it is actually in the
buffer ram of the hard disk and a torn page arises because the first part of
the page is OK but the bottom is rubbish. The real problem is that it will
effectively be some are of table that no longer makes sense. You cannot
find it. There is no way of recreating it or even knowing its the only torn
page. I believe the only answer is to restore from a backup earlier than the
torn page, but remember you still have all the logs back to this backup, so
you apply all those and will have lost no data.

Brian Reincke
Parity Training
London


"Tam OShanter" <tam@oshanter.com> wrote in message
news:9qXmg.185681$ii4.87899@fe08.news.easynews.com ...
> Hi All,
> Quick question...
> I've found that a database in our system has encountered a torn page
> error.
>
> DBCC CheckDB hasn't worked any wonders so we're going to restore from a
> backup.
>
> The torn page error began occuring several days ago.
>
> Can we restore successfully from a backup taken after the torn page
> occured?
>
> Or do we need to go and retrieve the last backup taken prior to the torn
> page?
>
>
> Also, the server is still functioning fine, wondering if we can simple
> move the data from one datatase (the one with the torn page) to another
> new one on the same machine.
>
> Thanks,
>
> Tam.
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:56 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com