From: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: AW: archiving question
Date: Thu, 5 Dec 2019 15:04:55 +0000
Message-ID: <200ee00c33104728b9a6b8df8ca90226@zuerich.ch> (raw)
In-Reply-To: <20191204175618.GH6962@tamriel.snowman.net>
References: <e0ca6acb3c13497aaf331708621f871f@zuerich.ch>
<20191204175618.GH6962@tamriel.snowman.net>
>
> Greetings,
>
> * Zwettler Markus (OIZ) (Markus.Zwettler@zuerich.ch) wrote:
> > When there is a Postgres archiver stuck because of filled pg_xlog and archive
> directories...
> >
> > ... and the pg_xlog directory had been filled with dozens of GBs of xlogs...
> >
> > ...it takes ages until the archive_command had moved all xlogs from the
> pg_xlog directory to the archive directory afterwards...
> >
> > ... and you get crazy if you have a 8GB archive directory while the
> > pg_xlog directory had been pumped up to 100GB :(
> >
> >
> > Any idea on this one?
>
> Parallelizing the archive-push operation can be quite helpful to address this.
>
> Thanks,
>
> Stephen
What do you mean hear?
Afaik, Postgres runs the archive_command per log, means log by log by log.
How should we parallelize this?
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: Markus.Zwettler@zuerich.ch, sfrost@snowman.net
Subject: Re: archiving question
In-Reply-To: <200ee00c33104728b9a6b8df8ca90226@zuerich.ch>
References: <e0ca6acb3c13497aaf331708621f871f@zuerich.ch> <20191204175618.GH6962@tamriel.snowman.net> <200ee00c33104728b9a6b8df8ca90226@zuerich.ch>
* 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