Subject | RE: [firebird-support] Re: Power down corruption problem. |
---|---|
Author | Alan McDonald |
Post date | 2005-03-10T11:28:12Z |
> --- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@m...>this is really intersting Ian - where did you find documentation on such a
> wrote:
> > > Hello
> > >
> > > I am evaluating databases for a particular application. One of the
> > > most important requirements is that the database survive a "power plug
> > > pull" during use without database corruption. So far, Firebird fails
> > > this requirement. Are there any settings that can minimize this kind
> > > of corruption problem?
> > >
> > > Ian
> > >
> >
> > this would only (likely) happen on a windows box with forced writes
> set to
> > off.
> > Ensure that forced writes for the database (not server) are set to
> ON in all
> > OS environments and corruption is unlikely.
> > (nothing will protect against lightneing strike power surges to that fry
> > your hard disk though)
> > Alan
>
> Hi Alan
>
> Thanks for your suggestion. I added the following line to my
> firebird.conf file:
>
> ForcedWrites=On
>
> But after 4 powerdowns during insert activity, I got the following
> message after trying to update a database table:
>
> ... update agt_idle set end_idle='2005-03-01 07:50:51' where
> guid='agent67890123026' and end_idle is null
> SQLCODE: -902
> firebird reports: internal gds software consistency check (cannot find
> record back version (291))
>
> By the way, this is on a realtime variant of Linux, Carrier Grade Linux.
>
> Ian
configuration line existing in the conf file? I have never seen it
before....
what I said was apply it to the database ... AFAIK this is not a server wide
feature - it's a database setting. You can use gfix to set forced writes on
a database.
Alan