| From: | Richard Huxton <dev(at)archonet(dot)com> |
|---|---|
| To: | Fujii Masao <masao(dot)fujii(at)gmail(dot)com> |
| Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Re: [COMMITTERS] pgsql: Reduce the chatter to the log when starting a standby server. |
| Date: | 2010-02-12 19:33:12 |
| Message-ID: | 4B75ACF8.2080101@archonet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers |
On 12/02/10 15:37, Fujii Masao wrote:
> On Sat, Feb 13, 2010 at 12:28 AM, Robert Haas<robertmhaas(at)gmail(dot)com> wrote:
>> Well, let's come up with something else then.
>
> continuous_recovery ?
One problem with the otherwise entirely wonderful HS/SR pairing is the
whole business of the config parameters. They feel too bottom-up.
Individually, each one makes sense but if you look at them on a page
they don't say master/slave replication to me.
What about something like:
# Primary
archive_mode = producer
archive_producer_command = 'cp "%p" .../"%f"'
max_consumers = 5
# Standby
archive_mode = producer, consumer
archive_producer_command = 'cp "%p" .../"%f"'
archive_consumer_command = 'cp "%p" .../"%f"'
consume_from = 'host=... user=...'
Three other points that struck me:
1. Why have a separate recovery.conf file rather than just put the
commands inline? We can use the include directive to have them in a
separate file if required.
2. Why have a finish.replication file, rather than "SELECT
pg_finish_replication()"?
--
Richard Huxton
Archonet Ltd
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2010-02-12 19:35:25 | pgsql: Add plperl.on_plperl_init and plperl.on_plperlu_init settings for |
| Previous Message | User Mkz | 2010-02-12 19:13:07 | pgbouncer - pgbouncer: log message: statement timeout -> query timeout, |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dimitri Fontaine | 2010-02-12 19:53:25 | Re: Re: [COMMITTERS] pgsql: Reduce the chatter to the log when starting a standby server. |
| Previous Message | Alvaro Herrera | 2010-02-12 19:31:48 | Re: logtrigger issue in PostgreSQL HEAD |