From: Andreas Kretschmer <andreas@a-kretschmer.de>
To: Les <nagylzs@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: replication primary writting infinite number of WAL files
Date: Fri, 24 Nov 2023 13:58:29 +0100
Message-ID: <90f8b99c-a3b0-c50c-db91-cab6ea3386d0@a-kretschmer.de> (raw)
In-Reply-To: <CAKXe9UCmueacYEUvXSUc43ieXggVvLTmRnR0p+5-1aUo8dHezA@mail.gmail.com>
References: <CAKXe9UDZKGevV6t+Y0adUgy2-k-1gMdRUi4Baz=4BMKX1Oig_A@mail.gmail.com>
<ebc03822-5c6f-1ea7-8194-05ecfd174a5d@a-kretschmer.de>
<CAKXe9UCmueacYEUvXSUc43ieXggVvLTmRnR0p+5-1aUo8dHezA@mail.gmail.com>
Am 24.11.23 um 13:52 schrieb Les:
>
>
> Andreas Kretschmer <andreas@a-kretschmer.de> wrote (2023. nov. 24., P,
> 13:22):
>
>
>
> Am 24.11.23 um 12:39 schrieb Les:
> >
> > Hello,
> >
>
> please check the database log, a VACUUM can also lead to massive wal
> generation. Can you find other related messages? by the way, the
> picture
> is hard to read, please post text instead of pictures.
>
>
> First I was also thinking about vacuum. But removing a replication
> slot should have no effect on vacuum on the primary (AFAIK). Please
> correct me if I'm wrong.
>
yeah, depends. there are 2 processes:
* 1 process generating the wal's, maybe a VACUUM
* an inactive slot holding the wals
For instance, if a standby not reachable the wal's will accumulated
within the slot, till the standby is reachable again.
Andreas
--
Andreas Kretschmer - currently still (garden leave)
Technical Account Manager (TAM)
www.enterprisedb.com
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: andreas@a-kretschmer.de, nagylzs@gmail.com
Subject: Re: replication primary writting infinite number of WAL files
In-Reply-To: <90f8b99c-a3b0-c50c-db91-cab6ea3386d0@a-kretschmer.de>
References: <CAKXe9UDZKGevV6t+Y0adUgy2-k-1gMdRUi4Baz=4BMKX1Oig_A@mail.gmail.com> <ebc03822-5c6f-1ea7-8194-05ecfd174a5d@a-kretschmer.de> <CAKXe9UCmueacYEUvXSUc43ieXggVvLTmRnR0p+5-1aUo8dHezA@mail.gmail.com> <90f8b99c-a3b0-c50c-db91-cab6ea3386d0@a-kretschmer.de>
* 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