From: | "Fujii Masao" <masao(dot)fujii(at)gmail(dot)com> |
---|---|
To: | "Simon Riggs" <simon(at)2ndquadrant(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Synch Rep v5 |
Date: | 2009-01-11 08:19:14 |
Message-ID: | 3f0b79eb0901110019o42534c2fx27ca57d300f58525@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
Thanks for your comments!
On Sat, Jan 10, 2009 at 10:36 PM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
> I notice we use the same settings for keepalives. We may need that to be
> a second set of parameters.
Or, we should make walreceiver execute "SET tcp_keepalives_xxx TO yyy"
before starting replication if such settins are specified in recovery.conf?
> Don't understand: "Completely automated catching up; User has to carry
> out some procedure manually for making the standby catch up."
Oh sorry, this description is not correct; the standby can catch up with the
primary automatically if archive area is shared between those two servers.
In fact, xlogs generated before / during replication are shipped by
archiver / walsender, respectively.
I also updated the figures about flow of xlogs. Please check it.
http://wiki.postgresql.org/wiki/NTT%27s_Development_Projects#Architecture_Design
> Multiple standby is still possible, but just using old file based
> mechanisms. We would need to be careful about use of %R in that case.
Yes. Synch Rep can work fine with existing warm-standby mechanism.
> I believe the max delay is 2* wal_sender_delay.
In async replication case, walsender tries to send the xlogs once per
wal_sender_delay, and receives the response from the standby on
demand. So, I think that max delay is wal_sender_delay. Am I missing
something?
> I like the way recovery_trigger_file avoids changing pg_standby, but I
> guess we still need to plug that gap also one day. But does patch 10
> also have the other mechanism?
As you imply, current synch-rep has already not needed the change
of pg_standby, so I'll get rid of the patch from synch-rep patchset.
Of course, this patch is still useful for existing warm-standby. I should
add this patch to commitfest for 8.5?
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2009-01-11 08:41:12 | Re: Hot standby, slot ids and stuff |
Previous Message | Hiroshi Saito | 2009-01-11 07:23:32 | Re: Solve a problem of LC_TIME of windows. |