Hi,
perhaps a stupid question:
What will happen, if you start PostgreSQL with -F and write a script
which is a loop that fsyncs every 2 seconds? Does this lead to a
database which is "almost" correct? Does this seem like a good
compromise?
> > I ran my performance tests some more times and it seems the numbers are not
> > really comparable. When I run PostgreSQL without -F I get a sync after every
> > insert. With -F I get no sync at all as all inserts fit well into the
> > buffer. However, Oracle in comparison does sync. Simply hearing the disk
> > access it seems as if they sync every two or three seconds.
> >
> > Does anyone know a way to really check both DBMSs?
>
> Many dbms's do buffered logging, that is they sync after the buffer gets
> full or after a minute or so. We have the logic to add buffered logging
> to PostgreSQL and will be doing it later. Right now, we only have
> non-buffered logging, and no logging.
>
> --
> Bruce Momjian
> maillist@candle.pha.pa.us
>
>
Ciao
Das Boersenspielteam.
---------------------------------------------------------------------------
http://www.boersenspiel.de
Das Boersenspiel im Internet
*Realitaetsnah* *Kostenlos* *Ueber 6000 Spieler*
---------------------------------------------------------------------------