pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Anderson <forumwriter007@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: WAL-files is not removing authomaticaly
Date: Tue, 16 Mar 2021 13:39:54 -0400
Message-ID: <3349575.1615916394@sss.pgh.pa.us> (raw)
In-Reply-To: <CAHAzDimx-fth0Ka9fGucZOxWau_hOcBwm1ntniPU-Ge3v9EQFA@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>
	<d4c888efc4851c6a2a5692d2ac7e26e187164e40.camel@cybertec.at>
	<CAHAzDi=GfBtes3Ed9qgOjy81F8c00XXMAF7BjK_t2=-FotADQw@mail.gmail.com>
	<033b46e968f6968cb4e3591c2111aaf20ec4b067.camel@cybertec.at>
	<CAHAzDi=Ypsg--1L4H9sj03HbtSjTy_8u59LMeLD2O2ZozLASYw@mail.gmail.com>
	<2e2b5960cc30345c328206ea374f2faab481a644.camel@cybertec.at>
	<CAHAzDim-FhDGrMK332aQ4wDy0=T3_hSXUv3OWbdS0DHJWs-7jg@mail.gmail.com>
	<3253337.1615909458@sss.pgh.pa.us>
	<CAHAzDimx-fth0Ka9fGucZOxWau_hOcBwm1ntniPU-Ge3v9EQFA@mail.gmail.com>

Andrew Anderson <forumwriter007@gmail.com> writes:
>> What's using it?

> As I think, streaming replication is using this slot. Does anybody know how
> to fix it ?

Unless you need another replica that's downstream of the standby,
you should not be maintaining a replication slot on the standby.

There may be a way to have a slot that's not actually holding back
WAL cleanup while doing nothing, but I don't know what it is.

			regards, tom lane





view thread (18+ messages)  latest in thread

Message-ID: <3349575.1615916394@sss.pgh.pa.us>
Permalink:  ../3349575.1615916394@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3349575.1615916394@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, forumwriter007@gmail.com, laurenz.albe@cybertec.at
  Subject: Re: WAL-files is not removing authomaticaly
  In-Reply-To: <3349575.1615916394@sss.pgh.pa.us>
  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> <CAHAzDi=GfBtes3Ed9qgOjy81F8c00XXMAF7BjK_t2=-FotADQw@mail.gmail.com> <033b46e968f6968cb4e3591c2111aaf20ec4b067.camel@cybertec.at> <CAHAzDi=Ypsg--1L4H9sj03HbtSjTy_8u59LMeLD2O2ZozLASYw@mail.gmail.com> <2e2b5960cc30345c328206ea374f2faab481a644.camel@cybertec.at> <CAHAzDim-FhDGrMK332aQ4wDy0=T3_hSXUv3OWbdS0DHJWs-7jg@mail.gmail.com> <3253337.1615909458@sss.pgh.pa.us> <CAHAzDimx-fth0Ka9fGucZOxWau_hOcBwm1ntniPU-Ge3v9EQFA@mail.gmail.com> <3349575.1615916394@sss.pgh.pa.us>

* 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