Re: Standby registration

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Standby registration
Date: 2010-10-01 11:01:40
Message-ID: AANLkTimLkRpmg_mCEEDekK0JAn-fxHcFs330HOqD2MOa@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Sep 30, 2010 at 11:32 PM, Heikki Linnakangas
<heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
> The standby can already use restore_command to fetch WAL files from the
> archive. I don't see why the master should be involved in that.

To make the standby use restore_command to do that, you have to specify
something like scp in archive_command or set up the shared directory
(e.g., using NFS server). But I don't want to use both because they make
the installation complicated (e.g., I don't want to register the ssh key
with no password to use scp the WAL files from the master to the standby.
I don't want to purchase extra server for shared directory and set up
NFS server). I believe that it's the same reason why you implemented the
streaming backup tool.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2010-10-01 11:01:50 Re: Using streaming replication as log archiving
Previous Message Fujii Masao 2010-10-01 10:48:25 Re: is sync rep stalled?