| From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
|---|---|
| To: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> |
| Cc: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Sync Rep: First Thoughts on Code |
| Date: | 2008-12-10 14:55:11 |
| Message-ID: | 1228920911.20796.844.camel@hp_dx2400_1 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.com
PostgreSQL Training, Services and Support
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Simon Riggs | 2008-12-10 14:59:45 | Re: Sync Rep: First Thoughts on Code |
| Previous Message | Andrew Chernow | 2008-12-10 14:46:42 | Re: ALTER composite type does not work, but ALTER TABLE which ROWTYPE is used as a type - works fine |