pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Suraj Sawant <suraj.sawant@shreeyansh.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: How to replicate 2 nodes parallel
Date: Mon, 17 May 2021 09:13:49 +0200
Message-ID: <9175f85da7de964578bf1d21e8974eeb9888ed78.camel@cybertec.at> (raw)
In-Reply-To: <81c859ff-3ff5-4525-9fc9-b2394a8e803a@email.android.com>
References: <81c859ff-3ff5-4525-9fc9-b2394a8e803a@email.android.com>

On Sun, 2021-05-16 at 01:02 +0530, Suraj Sawant wrote:
> I'm using PostgreSQL 12.5, for HA setup I'm using 3 poatgresql nodes.
> 
> For that I need to take 'pg_basebackup' on two nodes simultaneously from my Master node.
> 
> Is there any option available to take 'pg_basebacup' parallel and then make it in A-B-C format
> i.e. A -> Master
>       B -> Slave
>       C -> DR.

Since "pg_basebackup" uses the non-exclusive backup method, you can run two
such backups concurrently.

However, there is no way to have it run a backup with several parallel processes
to speed up the procedure.

The high availability setup will require thrid-party software, since PostgreSQL
has no built-in clusterware.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com






view thread (2+ messages)

Message-ID: <9175f85da7de964578bf1d21e8974eeb9888ed78.camel@cybertec.at>
Permalink:  ../9175f85da7de964578bf1d21e8974eeb9888ed78.camel@cybertec.at/
Also on:    postgresql.org/message-id/9175f85da7de964578bf1d21e8974eeb9888ed78.camel@cybertec.at

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, suraj.sawant@shreeyansh.com, pgsql-admin@lists.postgresql.org
  Subject: Re: How to replicate 2 nodes parallel
  In-Reply-To: <9175f85da7de964578bf1d21e8974eeb9888ed78.camel@cybertec.at>

* 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