From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: David Pacheco <dap@joyent.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Can PostgreSQL create new WAL files instead of reusing old ones?
Date: Tue, 17 Apr 2018 15:20:13 -0300
Message-ID: <20180417182013.zi3wghrvyspiatkh@alvherre.pgsql> (raw)
In-Reply-To: <CACukRjO7DJvub8e2AijOayj8BfKK3XXBTwu3KKARiTr67M3E3w@mail.gmail.com>
David Pacheco wrote:
> tl;dr: We've found that under many conditions, PostgreSQL's re-use of old
> WAL
> files appears to significantly degrade query latency on ZFS. The reason is
> complicated and I have details below. Has it been considered to make this
> behavior tunable, to cause PostgreSQL to always create new WAL files
> instead of re-using old ones?
I don't think this has ever been proposed, because there was no use case
for it. Maybe you want to work on a patch for it?
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: alvherre@alvh.no-ip.org, dap@joyent.com
Subject: Re: Can PostgreSQL create new WAL files instead of reusing old ones?
In-Reply-To: <20180417182013.zi3wghrvyspiatkh@alvherre.pgsql>
References: <CACukRjO7DJvub8e2AijOayj8BfKK3XXBTwu3KKARiTr67M3E3w@mail.gmail.com> <20180417182013.zi3wghrvyspiatkh@alvherre.pgsql>
* 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