Re: Can PostgreSQL create new WAL files instead of reusing old ones? - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Can PostgreSQL create new WAL files instead of reusing old ones?
Date
Msg-id 20180417182013.zi3wghrvyspiatkh@alvherre.pgsql
Whole thread Raw
In response to Can PostgreSQL create new WAL files instead of reusing old ones?  (David Pacheco <dap@joyent.com>)
Responses Re: Can PostgreSQL create new WAL files instead of reusing old ones?
List pgsql-general
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


pgsql-general by date:

Previous
From: David Pacheco
Date:
Subject: Can PostgreSQL create new WAL files instead of reusing old ones?
Next
From: Tom Lane
Date:
Subject: Re: Can PostgreSQL create new WAL files instead of reusing old ones?