Search Postgresql Archives

Re: Understanding PG9.0 streaming replication feature

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 26, 2011 at 09:18:01PM -0500, Bruce Momjian wrote:
> 
> Uh, the sentence is:
> 
> 	On systems that support the keepalive socket option, setting
> 	tcp_keepalives_idle, tcp_keepalives_interval and tcp_keepalives_count
> 	helps the primary promptly notice a broken connection. 
> 
> I believe there they are talking about setting those values in the
> master/primary so you see the slave has disconnected --- this is not
> related to setting in the connection string, I think.


Yep.  Simon shows it the other way in his book:

 "If you want a Standby to notice that the connection to the Master has
 dropped, you need to set the keepalives in the primary_conninfo in the
 recovery.conf"

That works, also.  

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux