Re: Sync Rep: First Thoughts on Code - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Sync Rep: First Thoughts on Code
Date
Msg-id 1228920911.20796.844.camel@hp_dx2400_1
Whole thread Raw
In response to Re: Sync Rep: First Thoughts on Code  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Sync Rep: First Thoughts on Code
List pgsql-hackers
On Wed, 2008-12-10 at 14:39 +0200, Heikki Linnakangas wrote:

> For a solution that doesn't depend on the file-based log shipping, I 
> think we'll need a way for the standby to request a certain starting 
> point for the streaming when it connects. When the standby starts, it 
> would first recover all the log segments it can obtain using 
> recovery_command, and then connect to the primary and request to
> start 
> streaming from where recovery_command stopped.

That was already suggested and rejected because it introduces a
potentially unacceptable delay in the start of synch replication - for
large databases this could be hours. (I should add it was suggested by
me and I now accept that it should be rejected.)

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: Andrew Chernow
Date:
Subject: Re: ALTER composite type does not work, but ALTER TABLE which ROWTYPE is used as a type - works fine
Next
From: Simon Riggs
Date:
Subject: Re: Sync Rep: First Thoughts on Code