pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Andrew Anderson <forumwriter007@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: WAL-files is not removing authomaticaly
Date: Tue, 16 Mar 2021 08:40:40 +0100
Message-ID: <d4c888efc4851c6a2a5692d2ac7e26e187164e40.camel@cybertec.at> (raw)
In-Reply-To: <CAHAzDi=2pGm6mQsH1CYdiLT=Q204bRtzMTGZEDfqiZ4ggyAabA@mail.gmail.com>
References: <CAHAzDi=7s2UpiFKQyQb+yNqFLaL3jrH=n2z=f52U8fc=QXbc7Q@mail.gmail.com>
	<7eee13c535a2f1de6e8dece0791531f3dc7f2c0e.camel@cybertec.at>
	<CAHAzDikSTvg5y8u-sNbpTNtQ_p3jWjhJBzPDMW1pU5T1x-MKFQ@mail.gmail.com>
	<8824049ee9e1f6476cf65ebb156c71fb2b44fa87.camel@cybertec.at>
	<CAHAzDi=2pGm6mQsH1CYdiLT=Q204bRtzMTGZEDfqiZ4ggyAabA@mail.gmail.com>

On Tue, 2021-03-16 at 09:33 +0200, Andrew Anderson wrote:
> The situation didn't changes, WAL segments not removing automatically.
> The streaming replication works fine, here is the log files:
> 
> from master:
> [log with debug2, but without WAL segment delete messages]

Could you set "log_checkpoints = on" and tell us what "checkpoint_timeout"
is set to?  WAL segments are only deleted after checkpoints.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (18+ messages)  latest in thread

Message-ID: <d4c888efc4851c6a2a5692d2ac7e26e187164e40.camel@cybertec.at>
Permalink:  ../d4c888efc4851c6a2a5692d2ac7e26e187164e40.camel@cybertec.at/
Also on:    postgresql.org/message-id/d4c888efc4851c6a2a5692d2ac7e26e187164e40.camel@cybertec.at

 · 

reply

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: laurenz.albe@cybertec.at, forumwriter007@gmail.com
  Subject: Re: WAL-files is not removing authomaticaly
  In-Reply-To: <d4c888efc4851c6a2a5692d2ac7e26e187164e40.camel@cybertec.at>
  References: <CAHAzDi=7s2UpiFKQyQb+yNqFLaL3jrH=n2z=f52U8fc=QXbc7Q@mail.gmail.com> <7eee13c535a2f1de6e8dece0791531f3dc7f2c0e.camel@cybertec.at> <CAHAzDikSTvg5y8u-sNbpTNtQ_p3jWjhJBzPDMW1pU5T1x-MKFQ@mail.gmail.com> <8824049ee9e1f6476cf65ebb156c71fb2b44fa87.camel@cybertec.at> <CAHAzDi=2pGm6mQsH1CYdiLT=Q204bRtzMTGZEDfqiZ4ggyAabA@mail.gmail.com> <d4c888efc4851c6a2a5692d2ac7e26e187164e40.camel@cybertec.at>

* 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