Re: pgsql-server/src backend/storage/buffer/bufmgr ...

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql-server/src backend/storage/buffer/bufmgr ...
Дата
Msg-id 200401261935.i0QJZob23818@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: pgsql-server/src backend/storage/buffer/bufmgr ...  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-committers
Jan Wieck wrote:
> Tom Lane wrote:
>
> > Jan Wieck <JanWieck@Yahoo.com> writes:
>
> >> The whole point of the bgwriter is to give responsetimes a better
> >> variance, I never claimed that it will improve performance.
> >
> > I want to use it to improve reliability, by getting rid of our
> > dependence on sync().  The bgwriter can afford to wait for writes
> > to occur, so it should be able to use fsync or even O_SYNC.
>
> Agreed, that would be our long term strategy. And chances are that the
> 63 lines of code I added today for a functionality that is turned off by
> default will not completely screw up that plan.

We don't give people options that are useless.  Are you sure this option
is useful?  "Hey, it makes the system so slow, checkpoints are now 90%
faster!"  :-)

> But as I see it, there is not even half of a proposal for all that yet.
> And people have response time spike problems caused by the checkpointer
> today. At least that is what I heard from the folks who where at our BOF
> in New York. Those people will not mind if the option we give them in
> 7.5 is replaced with something better in 8.0 again. But they mind a lot
> if we give them nothing because what we can do now is not optimal.

We need more discussion/proof before we add something like this, even if
it is only for one release.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql-server/src backend/storage/buffer/bufmgr ...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql-server/src backend/storage/buffer/bufmgr ...