Re: Trouble with replication

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: David Greco <David_Greco(at)harte-hanks(dot)com>
Cc: John R Pierce <pierce(at)hogranch(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Trouble with replication
Date: 2013-06-06 01:42:37
Message-ID: CAB7nPqQuEKg_f8uiCbuqy+vVgGHmDsqLSFGybZhcUxRA8rbSZQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jun 6, 2013 at 7:23 AM, David Greco <David_Greco(at)harte-hanks(dot)com>wrote:

> On the master or on the slave, or on both? I thought shipping the archived WAL files from the master to the slave did this already?
>
> In your case you need to transfer the WAL files using streaming
replication, so you need to set wal_keep_segments to a value high enough on
master such as the slave can can up. For reference:
http://www.postgresql.org/docs/9.2/static/runtime-config-replication.html
--
Michael

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-06-06 01:55:04 Re: How to modify dump files created by pg_dump
Previous Message 任洪彩 2013-06-06 01:17:45 Re: How to modify dump files created by pg_dump