pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: magodo <wztdyl@sina.com>
Cc: pgsql-general@postgresql.org
Subject: Re: pg9.6: no backup history file (*.backup) created on hot standby
Date: Mon, 8 Oct 2018 18:24:51 +0900
Message-ID: <20181008092451.GE2754@paquier.xyz> (raw)
In-Reply-To: <6ac35bd51a0a4faad011fab162a2888a09ab2dd7.camel@sina.com>
References: <6ac35bd51a0a4faad011fab162a2888a09ab2dd7.camel@sina.com>

On Mon, Oct 08, 2018 at 03:23:47PM +0800, magodo wrote:
> Is this as expected?

Yes.

> If so, in which case should I do backup on primary and in which case
> should I do it on standby?

This depends on your use cases, sometimes you don't want to make the
production server, the primary use more CPU than necessary so you can
leverage the activity on a standby.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (8+ messages)  latest in thread

Message-ID: <20181008092451.GE2754@paquier.xyz>
Permalink:  ../20181008092451.GE2754@paquier.xyz/
Also on:    postgresql.org/message-id/20181008092451.GE2754@paquier.xyz

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: michael@paquier.xyz, wztdyl@sina.com
  Subject: Re: pg9.6: no backup history file (*.backup) created on hot standby
  In-Reply-To: <20181008092451.GE2754@paquier.xyz>
  References: <6ac35bd51a0a4faad011fab162a2888a09ab2dd7.camel@sina.com> <20181008092451.GE2754@paquier.xyz>

* 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