changing wal segsize with pg_resetwal

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Pavel Demidov <zeller56(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: changing wal segsize with pg_resetwal
Date: 2019-09-05 14:18:52
Message-ID: 20190905141852.GA24717@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-Aug-28, Pavel Demidov wrote:

> I hear that not recommended to set pg_resetwal with --wal-segsize for wal
> increasing. Are any more detailed information exists about it? What an
> effects could be? Does it possible change it due full offline?

The manual contains a warning about it:

While pg_resetwal will set the WAL starting address
beyond the latest existing WAL segment file, some segment size changes
can cause previous WAL file names to be reused. It is recommended to
use -l together with this option to manually set the
WAL starting address if WAL file name overlap will cause problems with
your archiving strategy.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

  • at 2019-08-28 11:45:31 from Pavel Demidov

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2019-09-05 14:23:03 Re: SegFault on 9.6.14
Previous Message Alvaro Herrera 2019-09-05 13:59:51 Re: Plug-in common/logging.h with vacuumlo and oid2name