pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: Tatsuo Ishii <t-ishii@sra.co.jp>
Cc: barry@e-rm.co.uk
Cc: pgsql-general@postgresql.org
Subject: Re: Replication
Date: Tue, 13 Sep 2005 11:39:57 -0400
Message-ID: <23543.1126625997@sss.pgh.pa.us> (raw)
In-Reply-To: <KGEFLMPJFBNNLNOOOPLGIEOPCIAA.simon@2ndquadrant.com>
References: <KGEFLMPJFBNNLNOOOPLGIEOPCIAA.simon@2ndquadrant.com>

"Simon Riggs" <simon@2ndquadrant.com> writes:
>> From: Tatsuo Ishii [mailto:t-ishii@sra.co.jp]
>> I thought there are some issues of log based replication (I don't
>> remeber details though). Have they been resolved recently?

> Yes, currently log-file based replication is not recommended when the
> transaction rate is either low or extremely variable.

The point being not that it doesn't work, but that it can take a long
time (or an unpredictable amount of time) for transactions to propagate
to the slave machine.  You can kluge up a solution for this, ie, write a
cron job to copy the latest WAL segment file across to the slave once
a minute (or whatever your requirement for propagation delay is).  But
we haven't gotten a standard solution into the code itself yet.

			regards, tom lane



view thread (131+ messages)  latest in thread

Message-ID: <23543.1126625997@sss.pgh.pa.us>
Permalink:  ../23543.1126625997@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23543.1126625997@sss.pgh.pa.us

 · 

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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, simon@2ndquadrant.com, t-ishii@sra.co.jp, barry@e-rm.co.uk
  Subject: Re: Replication
  In-Reply-To: <23543.1126625997@sss.pgh.pa.us>

* 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