pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_receivewal/xlog to ship wal to cloud
4+ messages / 3 participants
[nested] [flat]

* pg_receivewal/xlog to ship wal to cloud
@ 2022-07-18 19:55  neslişah demirci <neslisah.demirci@gmail.com>
  0 siblings, 2 replies; 4+ messages in thread

From: neslişah demirci @ 2022-07-18 19:55 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Hi all,

Wondering if anyone has any experience of using pg_receivewal/xlog to ship
wal files to GCP/S3?

Could you please share ideas or issues you had?

Thanks.

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_receivewal/xlog to ship wal to cloud
@ 2022-07-18 19:59  neslişah demirci <neslisah.demirci@gmail.com>
  parent: neslişah demirci <neslisah.demirci@gmail.com>
  1 sibling, 0 replies; 4+ messages in thread

From: neslişah demirci @ 2022-07-18 19:59 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Or downloading from cloud experience?

neslişah demirci <neslisah.demirci@gmail.com>, 18 Tem 2022 Pzt, 15:55
tarihinde şunu yazdı:

> Hi all,
>
> Wondering if anyone has any experience of using pg_receivewal/xlog to ship
> wal files to GCP/S3?
>
> Could you please share ideas or issues you had?
>
> Thanks.
>


-- 
Best,
Neslisah

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_receivewal/xlog to ship wal to cloud
@ 2022-07-18 20:39  Alan Hodgson <ahodgson@lists.simkin.ca>
  parent: neslişah demirci <neslisah.demirci@gmail.com>
  1 sibling, 1 reply; 4+ messages in thread

From: Alan Hodgson @ 2022-07-18 20:39 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

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.





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: pg_receivewal/xlog to ship wal to cloud
@ 2022-07-19 08:35  Ganesh Korde <ganeshakorde@gmail.com>
  parent: Alan Hodgson <ahodgson@lists.simkin.ca>
  0 siblings, 0 replies; 4+ messages in thread

From: Ganesh Korde @ 2022-07-19 08:35 UTC (permalink / raw)
  To: Alan Hodgson <ahodgson@lists.simkin.ca>; +Cc: pgsql-general <pgsql-general@lists.postgresql.org>

On Tue, 19 Jul 2022, 2:09 am Alan Hodgson, <ahodgson@lists.simkin.ca> wrote:

> 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.
>

Have a look at this also.

https://supabase.com/blog/2020/08/02/continuous-postgresql-backup-walg

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2022-07-19 08:35 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-07-18 19:55 pg_receivewal/xlog to ship wal to cloud neslişah demirci <neslisah.demirci@gmail.com>
2022-07-18 19:59 ` neslişah demirci <neslisah.demirci@gmail.com>
2022-07-18 20:39 ` Alan Hodgson <ahodgson@lists.simkin.ca>
2022-07-19 08:35   ` Ganesh Korde <ganeshakorde@gmail.com>

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