Re: Can PostgreSQL create new WAL files instead of reusing old ones?

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: David Pacheco <dap(at)joyent(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can PostgreSQL create new WAL files instead of reusing old ones?
Date: 2018-04-17 18:20:13
Message-ID: 20180417182013.zi3wghrvyspiatkh@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2018-04-17 18:57:03 Re: Can PostgreSQL create new WAL files instead of reusing old ones?
Previous Message David Pacheco 2018-04-17 18:17:28 Can PostgreSQL create new WAL files instead of reusing old ones?