From: Lukasz Biegaj <lukasz.biegaj@unity.pl>
To: pgsql-general@lists.postgresql.org
Subject: data=writeback and safety of WAL files
Date: Wed, 27 Jan 2021 08:46:58 +0100
Message-ID: <569a2a1d-4613-449e-6fa4-5cc685592d69@unity.pl> (raw)
Hi,
The <https://www.postgresql.org/docs/13/wal-intro.html; document states,
that in case of ext3 filesystems, filesystem journaling can be
configured with data=writeback option to increase performance (in
specific cases).
Per my understanding this causes some of the filesystem integrity
mechanism to be loosened and in case of PostgreSQL data partition it
would be okay because WAL files replicate this functionality at a higher
level.
What about the storage of WAL files itself? Wouldn't it be possible that
in case of unexpected reboot and dirty file system these files get
corrupted, making the database state impossible to bring to operational
level?
--
Lukasz Biegaj | Unity Group | https://www.unitygroup.com/
System Architect, AWS Solutions Architect
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: lukasz.biegaj@unity.pl
Subject: Re: data=writeback and safety of WAL files
In-Reply-To: <569a2a1d-4613-449e-6fa4-5cc685592d69@unity.pl>
References: <569a2a1d-4613-449e-6fa4-5cc685592d69@unity.pl>
* 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