Re: Would it be possible to have parallel archiving?

From: Alexander Kukushkin <cyberdemn(at)gmail(dot)com>
To: depesz(at)depesz(dot)com
Cc: pgsql-hackers mailing list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Would it be possible to have parallel archiving?
Date: 2018-08-28 06:33:11
Message-ID: CAFh8B=m1hcG4xYaxAFmfLcXVi6T5xgnq=fmknkA0hvWcnZCipQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

There is the archive_status directory in pg_wal, and if there are
files with suffixes ".ready", you can archive not only the file which
was requested, but quite a few more if there are ".ready" files
available. After that you have to rename ".ready" to ".done". Postgres
will not call archive_command for files which already marked as
".done".

I think most of the good backup tools already doing that. For example,
pgBackRest, wal-e, wal-g (just named the tools I was working with)/

Regards,
--
Alexander Kukushkin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2018-08-28 06:58:59 Re: some more error location support
Previous Message Alexander Kukushkin 2018-08-28 06:21:57 Re: BUG #15346: Replica fails to start after the crash