Re: Why there are no max_wal_receivers - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Why there are no max_wal_receivers
Date
Msg-id 5252C0CE.1060203@gmail.com
Whole thread Raw
In response to Re: Why there are no max_wal_receivers  (Amit Langote <amitlangote09@gmail.com>)
Responses Re: Why there are no max_wal_receivers
List pgsql-general
On 10/06/2013 09:53 PM, Amit Langote wrote:
> Hi,
>
> On Mon, Oct 7, 2013 at 12:02 PM, 高健 <luckyjackgao@gmail.com> wrote:
>> Hello :
>>
>>
>> I found that for PG9.2.4, there is parameter max_wal_senders,
>>
>> But there is no parameter of max_wal_receivers.
>>
>>
>
> max_wal_senders is the maximum number of WAL sender processes that a
> primary server can create in response to requests from the standby
> servers. One WAL sender process is created on the primary server for
> each standby which would running the corresponding WAL receiver. So
> there is one-to-one mapping between WAL senders and WAL receivers
> (standbys).

Just to add, pg_basebackup also counts against the total of receivers:

http://www.postgresql.org/docs/9.3/interactive/app-pgbasebackup.html


>
> --
> Amit Langote
>
>


--
Adrian Klaver
adrian.klaver@gmail.com


pgsql-general by date:

Previous
From: Michal TOMA
Date:
Subject: Re: pg_xlog size growing untill it fills the partition
Next
From: Laurent Sartran
Date:
Subject: Cannot create matview when referencing another not-populated-yet matview in subquery