From: Alan Hodgson <ahodgson@lists.simkin.ca>
To: pgsql-general@lists.postgresql.org
Subject: Re: pg_receivewal/xlog to ship wal to cloud
Date: Mon, 18 Jul 2022 13:39:17 -0700
Message-ID: <642533227fe8b6782c8f55bfdc4be49a0060f30d.camel@lists.simkin.ca> (raw)
In-Reply-To: <CABFxtPddkYDz2BXTYdwsJ1pT+OojPGbf83xcfcWfQ2dwZ5hT0Q@mail.gmail.com>
References: <CABFxtPddkYDz2BXTYdwsJ1pT+OojPGbf83xcfcWfQ2dwZ5hT0Q@mail.gmail.com>
On Mon, 2022-07-18 at 15:55 -0400, neslişah demirci wrote:
> Hi all,
>
> Wondering if anyone has any experience of using pg_receivewal/xlog
> to ship wal files to GCP/S3?
>
I use archive_command to send WAL to S3. It works fine. I do gzip
them before uploading, as they are usually pretty compressible.
I use a lifecycle rule on the bucket to automatically delete ones
older than I might need.
It's not the fastest process in the world, and replay on our
reporting server does occasionally fall behind, but I think that's
true of WAL replay in general as a serialized process.
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: ahodgson@lists.simkin.ca
Subject: Re: pg_receivewal/xlog to ship wal to cloud
In-Reply-To: <642533227fe8b6782c8f55bfdc4be49a0060f30d.camel@lists.simkin.ca>
References: <CABFxtPddkYDz2BXTYdwsJ1pT+OojPGbf83xcfcWfQ2dwZ5hT0Q@mail.gmail.com> <642533227fe8b6782c8f55bfdc4be49a0060f30d.camel@lists.simkin.ca>
* 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