From: Victor Sudakov <vas@sibptus.ru>
To: pgsql-admin@lists.postgresql.org
Subject: Re: WAL storage when archive_command=''
Date: Fri, 9 Sep 2022 09:29:53 +0000
Message-ID: <YxsHkUV0sTz2Gv7n@admin.sibptus.ru> (raw)
In-Reply-To: <f2d8e2c8-178a-5cdf-17c0-89f07ebee3d1@gmail.com>
References: <YxrHeKWaNZpaJea9@admin.sibptus.ru>
<aa76c4bc-b1ed-7e72-5b13-13c78852e420@jakobs.com>
<YxrqVUY5dvXKMoIX@admin.sibptus.ru>
<f2d8e2c8-178a-5cdf-17c0-89f07ebee3d1@gmail.com>
Ron wrote:
> On 9/9/22 02:25, Victor Sudakov wrote:
> > Holger Jakobs wrote:
> >> Am 09.09.22 um 06:56 schrieb Victor Sudakov:
> >>> Dear Colleagues,
> >>>
> >>> With archive_mode='on' and archive_command='', is there a limit on WAL
> >>> files accumulation or will they be kept infinitely until the disk is
> >>> full?
> >>>
> >>> Actually I'd prefer them to be kept infinitely, just want to make sure
> >>> it's really the case.
> >>>
> >> There is no limit. The disk will run full.
> > That's actually great that unarchived WAL files will never get
> > deleted or reused. Thank you for confirming this.
>
> How are you going to prevent the disk from filling up?
Someone will eventually set archive_command to something useful before
the disk is full. Or Postgress will stop. It does not matter for the
current question.
I just want to make sure that unarchived WAL files are never ever
deleted and there is no limit on the number or size of unarchived WAL files.
--
Victor Sudakov VAS4-RIPE
http://vas.tomsk.ru/
2:5005/49@fidonet
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: vas@sibptus.ru, pgsql-admin@lists.postgresql.org
Subject: Re: WAL storage when archive_command=''
In-Reply-To: <YxsHkUV0sTz2Gv7n@admin.sibptus.ru>
* 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