Re: Postgres streaming replication

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Daulat Ram <Daulat(dot)Ram(at)exponential(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Postgres streaming replication
Date: 2020-01-09 04:36:18
Message-ID: 20200109043618.GJ2251@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jan 08, 2020 at 05:04:21AM +0000, Daulat Ram wrote:
> I have to implement the streaming replication for our prod environment.
> Can you please share the list of parameters to setup the PostgreSQL
> 11 streaming replication with continuous archiving and give clarity
> on the below.
>
> * Do we need to enable the archive_mode and archive_command
> parameters at standby side if implementing PostgreSQL 11
> streaming replication with continuous archiving ?
> * What is the benefits for implementing streaming replication
> with continuous archiving over the PostgreSQL Streaming
> replication?

I think that you need to do two things and take the necessary time to
do both:
1) List on a sheet of paper all your requirements, your expectations
and what kind of tradeoffs you are ready to make for your cluster
configuration when it comes to potential data loss, and the amount of
data retention you are willing to have around. There is no way to
tell what's good or not for your product if you don't know that
first.
2) Read the documentation:
https://www.postgresql.org/docs/current/high-availability.html
--
Michael

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2020-01-09 04:53:19 Re: How can I pushdown of functions used in targetlist with FDW ?
Previous Message shigeo Hirose 2020-01-09 04:34:08 How can I pushdown of functions used in targetlist with FDW ?