Subject | Re: [firebird-support] Database corruption |
---|---|
Author | Jacques Marneweck |
Post date | 2007-04-05T08:11:20Z |
On 04 Apr 2007 09:12:54 -0700, Ann W. Harrison <aharrison@...> wrote:
Thanks for the response.
currently do at the moment is just "/opt/firebird/bin/gbak -r -c -v
db.bak db.fdb && chown firebird:firebird db.bak" to get things back to
a state for rerunning tests again.
What I did the other day was disable automatic sweeping (garbage
collection) on the firebird database in question. Is there any
recommended sweep interval which one should be doing with firebird?
Regards
--jm
--
Jacques Marneweck
http://www.powertrip.co.za/
http://www.powertrip.co.za/blog/
http://www.ataris.co.za/
> Jacques Marneweck wrote:Hi Ann,
> >
> > wrong page type
> > page 169452 is of wrong type (expected 7, found 5)
> > (Error message: Database error.) (0x8000000d)
> >
Thanks for the response.
>Currently we are running 1.5.3 in our test environment. What I
> What version of Firebird are you running? What you're seeing is
> a case where a page was incorrectly referenced in two contexts -
> one as a data page (which it is) and one as an index page. The
> repair is to drop and recreate the index in question - gfix should
> tell you which it is. That bug is fixed in 2.0.l - the release
> notes are a better place to find descriptions of bugs than the
> reference manual.
>
currently do at the moment is just "/opt/firebird/bin/gbak -r -c -v
db.bak db.fdb && chown firebird:firebird db.bak" to get things back to
a state for rerunning tests again.
What I did the other day was disable automatic sweeping (garbage
collection) on the firebird database in question. Is there any
recommended sweep interval which one should be doing with firebird?
Regards
--jm
> Once you get that problem in a database, it will be reported*snip*
> whenever you try to reference that page of that index, so fixing
> it is important.
>
> Regards,
>
> Ann
--
Jacques Marneweck
http://www.powertrip.co.za/
http://www.powertrip.co.za/blog/
http://www.ataris.co.za/