Re: [HACKERS] Problem with the numbers I reported yesterday

From: "Boersenspielteam" <boersenspiel(at)vocalweb(dot)de>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Problem with the numbers I reported yesterday
Date: 1998-02-12 15:41:45
Message-ID: 199802121443.PAA22726@www.vocalweb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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(at)candle(dot)pha(dot)pa(dot)us
>
>

Ciao

Das Boersenspielteam.

---------------------------------------------------------------------------
http://www.boersenspiel.de
Das Boersenspiel im Internet
*Realitaetsnah* *Kostenlos* *Ueber 6000 Spieler*
---------------------------------------------------------------------------

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-02-12 16:50:51 Re: [HACKERS] PostGreSQL v6.2.1 for Linux Alpha
Previous Message Thomas G. Lockhart 1998-02-12 15:02:26 Re: [HACKERS] PostGreSQL v6.2.1 for Linux Alpha