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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql-server/src backend/storage/buffer/bufmgr ...
Date: 2004-01-26 19:35:50
Message-ID: 200401261935.i0QJZob23818@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Jan Wieck wrote:
> Tom Lane wrote:
>
> > Jan Wieck <JanWieck(at)Yahoo(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-01-26 19:43:52 Re: pgsql-server/src backend/storage/buffer/bufmgr ...
Previous Message Bruce Momjian 2004-01-26 19:33:03 Re: pgsql-server/src backend/storage/buffer/bufmgr ...