From: Pandora <yeyukui@qq.com>
To: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: fsync data directory after DB crash
Date: Tue, 18 Jul 2023 16:50:25 +0800
Message-ID: <tencent_2B8A7724376F52FB4258043D2B484D95DE09@qq.com> (raw)
I found that starting from version 9.5, PostgreSQL will do fsync on the entire data directory after DB crash. Here's a question: if I have FPW = on, why is this step still necessary?
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-general@postgresql.org
Cc: yeyukui@qq.com
Subject: Re: fsync data directory after DB crash
In-Reply-To: <tencent_2B8A7724376F52FB4258043D2B484D95DE09@qq.com>
References: <tencent_2B8A7724376F52FB4258043D2B484D95DE09@qq.com>
* 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