Re: pg_receivewal/xlog to ship wal to cloud

From: Alan Hodgson <ahodgson(at)lists(dot)simkin(dot)ca>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pg_receivewal/xlog to ship wal to cloud
Date: 2022-07-18 20:39:17
Message-ID: 642533227fe8b6782c8f55bfdc4be49a0060f30d.camel@lists.simkin.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2022-07-18 21:03:01 Re: [PATCH] Introduce array_shuffle() and array_sample()
Previous Message Tom Lane 2022-07-18 20:34:50 Re: [PATCH] Introduce array_shuffle() and array_sample()