Subject | Re: [firebird-support] the way Firebird writes records to disk |
---|---|
Author | Brad Pepers |
Post date | 2004-04-05T01:52:39Z |
On April 4, 2004 09:44 am, Ann W. Harrison wrote:
forced writes but on Linux when I create a database using 1.5 it doesn't seem
to default to forced writes. I created a database and then used gstat to see
the info and under Attributes it was blank. Then I used gfix to set write to
"sync" and after that the Attributes showed "force write". So it looks like
the default is not always to enable this but if as you say its easy to
corrupt the database if you lose power and are not using forced writes, why
such a dangerous default?
--
Brad Pepers
brad@...
> At 06:42 AM 4/3/2004, Christian Gütter wrote:Thank you for the clear reply. I've seen people say that the default is
> >Hi Brad,
> >
> > > What is the best way to get Forced Writes activated?
>
> Forced writes can be passed as an attachment parameter,
> isc_dpb_force_write. The state is kept in the database header page.
forced writes but on Linux when I create a database using 1.5 it doesn't seem
to default to forced writes. I created a database and then used gstat to see
the info and under Attributes it was blank. Then I used gfix to set write to
"sync" and after that the Attributes showed "force write". So it looks like
the default is not always to enable this but if as you say its easy to
corrupt the database if you lose power and are not using forced writes, why
such a dangerous default?
--
Brad Pepers
brad@...