Re: bgwrite process is too lazy - Mailing list pgsql-hackers

From Tony Wayne
Subject Re: bgwrite process is too lazy
Date
Msg-id CAAW5B8yE4DD+5fTE9jQff7k8qyMJ9MNGMJTyNQt_PcRdfCXq7Q@mail.gmail.com
Whole thread Raw
In response to Re: bgwrite process is too lazy  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: bgwrite process is too lazy
List pgsql-hackers


On Wed, Oct 2, 2024 at 8:14 PM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
On Wed, 2024-10-02 at 16:48 +0800, wenhui qiu wrote:
> Whenever I check the checkpoint information in a log, most dirty pages are written by the checkpoint process

That's exactly how it should be!

is it because if bgwriter frequently flushes, the disk io will be more?🤔 

pgsql-hackers by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: bgwrite process is too lazy
Next
From: Tomas Vondra
Date:
Subject: Re: bgwrite process is too lazy