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

Поиск
Список
Период
Сортировка
От Boersenspielteam
Тема Re: [HACKERS] Problem with the numbers I reported yesterday
Дата
Msg-id 199802121443.PAA22726@www.vocalweb.de
обсуждение исходный текст
Ответ на Re: [HACKERS] Problem with the numbers I reported yesterday  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] Problem with the numbers I reported yesterday
Список 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@candle.pha.pa.us
>
>

Ciao

Das Boersenspielteam.

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

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] PostGreSQL v6.2.1 for Linux Alpha
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Problem with the numbers I reported yesterday