From: | Chris Wilson <chris+google(at)qwirx(dot)com> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | Chris Wilson <chris+google(at)qwirx(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: What does "[backends] should seldom or never need to wait for a write to occur" mean? |
Date: | 2020-11-12 14:40:04 |
Message-ID: | CAOg7f83vo1+Y3DMpu7317zgBwRZ2ZRow7VdphO7znm4AG=HJCA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
Hi Bruce,
Thanks, yes I agree that that is much clearer. However when you say:
When the percentage of dirty shared buffers is high, the background writer
> writes some of them to the file system...
I haven't seen anything about a minimum percentage before the bgwriter
kicks in, is that really the case? How is it configured?
Thanks, Chris.
On Wed, 11 Nov 2020 at 23:24, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> On Wed, Nov 11, 2020 at 11:29:09AM +0000, Chris Wilson wrote:
> > I still believe that my original proposed change, to "This reduces the
> chances
> > that a backend needing an empty buffer must [itself] write a dirty one
> back to
> > disk before evicting it" (with one extra word added), resolves the
> ambiguity
> > and also more clearly and directly focuses it on what the bgwriter does
> and
> > why, making it better documentation. It might be incorrect if my
> understanding
> > is incorrect - is it?
>
> You make some very good points. Here is an updated patch.
>
> --
> Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
> EnterpriseDB https://enterprisedb.com
>
> The usefulness of a cup is in its emptiness, Bruce Lee
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2020-11-12 16:54:12 | Re: What does "[backends] should seldom or never need to wait for a write to occur" mean? |
Previous Message | Laurenz Albe | 2020-11-12 08:14:12 | Re: Documentation of return values of range functions lower and upper |