Re: Why there are no max_wal_receivers

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: 高健 <luckyjackgao(at)gmail(dot)com>
Cc: Amit Langote <amitlangote09(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Why there are no max_wal_receivers
Date: 2013-10-08 12:34:20
Message-ID: 5253FBCC.8020203@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/07/2013 11:05 PM, 高健 wrote:
> Hello:
>
>
>
> Thank you all for kindly replying my question.
>
>
> I read the documentation about pg_basebackup.
>
>
> The description says:
>
> The server must also be configured with max_wal_senders set high enough
> to leave at least one session available for the backup.
>
> Dose it mean:
>
> If I am building a one master -- one slave environment, I need the
> max_wal_sender to be at least 2.
>
> But I think pg_basebackup just use the one sender process temporarily,
> Is that right?

Well actually it will use at least one and up to two connections, see
-Xs option

>
>
> Best Regards
>
>

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-10-08 12:49:39 Re: [GENERAL] Urgent Help Required
Previous Message Michal TOMA 2013-10-08 11:38:59 Re: pg_xlog size growing untill it fills the partition