Subject Re: Checking forced writes state
Author Adam
--- In firebird-support@yahoogroups.com, "mikcaau" <mikcaau@...> wrote:
>
> --- In firebird-support@yahoogroups.com, "TechVale - Gustavo"
> <g.c.bianconi@> wrote:
> >
> > Hi All,
> >
> > Can i check or set "forced writes" throught my application ?
> >
> > Thanks in advance,
> >
> > Gustavo.
> >
> >
> > [Non-text portions of this message have been removed]
> >
> Of course you can, it is simple.
> YOur application open firebird.conf sets forced write to what ever it
> wants and saves it. Then your application causes Firebird to restart.
>
> Mick

Forced writes is a per database setting, not a per server setting.
There is a setting in the firebird.conf, but this is about flushing
intervals if a given database has it off.

The services API lets you change it, or just call gfix with
appropriate parameters, whatever is easiest.

Adam