Subject | Re: [ib-support] Help please! Database corrupt! |
---|---|
Author | Ann W. Harrison |
Post date | 2001-05-03T19:35:43Z |
At 02:05 AM 5/4/2001 +0700, Nello Sestini wrote:
collection. What you've probably got is an uninitialized
page that's referenced from somewhere. If you're not using
forced writes, that can happen in a server crash. Gbak
reads only the committed records. If you tell it not to
garbage collect, it won't look at back versions and other
places likely to be broken. Nor does it look at indexes,
another potential source of problems.
A checksum error is an interesting problem since checksums
haven't been used since V4. However, the space that had been
held by the checksum is now filled with the number 12345.
Your page has something different, which is why I think it's
uninitialized.
old data in it. Structural problems don't survive the
transition - anything "page level" is totally replaced.
Regards,
Ann
www.ibphoenix.com
We have answers.
> > You may well have a bad page in the database. I'd suggestSure. The important part (I think) is turning off garbage
> > you backup the database with both garbage collection and
> > checksum checking turned off. If that works, restore the
> > database and things will be fine.
>
>Can you elaborate just a bit why this works?
collection. What you've probably got is an uninitialized
page that's referenced from somewhere. If you're not using
forced writes, that can happen in a server crash. Gbak
reads only the committed records. If you tell it not to
garbage collect, it won't look at back versions and other
places likely to be broken. Nor does it look at indexes,
another potential source of problems.
A checksum error is an interesting problem since checksums
haven't been used since V4. However, the space that had been
held by the checksum is now filled with the number 12345.
Your page has something different, which is why I think it's
uninitialized.
>Does backing up somehow "fix" the data error that causedBackup/restore creates a new database and stored all the
>the original checksum check to fail?
old data in it. Structural problems don't survive the
transition - anything "page level" is totally replaced.
Regards,
Ann
www.ibphoenix.com
We have answers.