From: Andres Freund <andres@anarazel.de>
To: 德哥 <digoal@126.com>
Cc: Kevin Grittner <kgrittn@gmail.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14345: run multi-PG9.6 on One Host, hang when checkpoint
Date: Thu, 29 Sep 2016 19:33:37 -0700
Message-ID: <20160930023337.vfbdqufvtg6mwc7i@alap3.anarazel.de> (raw)
In-Reply-To: <472c2284.36c6.15778ead043.Coremail.digoal@126.com>
References: <20160929053545.20224.32009@wrigleys.postgresql.org>
<CACjxUsPMjty6z5-Vrd9b4Rn9ULpxAiH_bkw-2GmbQg0C_iNYfw@mail.gmail.com>
<472c2284.36c6.15778ead043.Coremail.digoal@126.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
> But, PostgreSQL can also improve checkpoint to solve the problem
> (when checkpoint start, all bgwrite & backend process evict dirty page from buffer to disk ,can call sync_file_range(sync mode), and checkpointer call fsync before ).
I can't parse that sentence. Are you saying we should call
sync_file_range? If so, we do that starting in 9.6 for checkpoints (by
default) and background writer. If you do not want that to be called,
you also can disable it.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: andres@anarazel.de, digoal@126.com, kgrittn@gmail.com
Subject: Re: BUG #14345: run multi-PG9.6 on One Host, hang when checkpoint
In-Reply-To: <20160930023337.vfbdqufvtg6mwc7i@alap3.anarazel.de>
References: <20160929053545.20224.32009@wrigleys.postgresql.org> <CACjxUsPMjty6z5-Vrd9b4Rn9ULpxAiH_bkw-2GmbQg0C_iNYfw@mail.gmail.com> <472c2284.36c6.15778ead043.Coremail.digoal@126.com> <20160930023337.vfbdqufvtg6mwc7i@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox