Re: WAL-files is not removing authomaticaly

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Anderson <forumwriter007(at)gmail(dot)com>
Cc: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: WAL-files is not removing authomaticaly
Date: 2021-03-16 17:39:54
Message-ID: 3349575.1615916394@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andrew Anderson <forumwriter007(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2021-03-16 18:08:11 Re: Postgres crashes at memcopy() after upgrade to PG 13.
Previous Message Peter Geoghegan 2021-03-16 17:02:46 Re: Postgres crashes at memcopy() after upgrade to PG 13.