Re: Failover Datasource?
От | Dave Cramer |
---|---|
Тема | Re: Failover Datasource? |
Дата | |
Msg-id | CADK3HHLYQJufB9gzLUXQmOdOKetvN5LgXTnEttFnw1TBGQ3aDw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Failover Datasource? (Mikko Tiihonen <Mikko.Tiihonen@nitorcreations.com>) |
Ответы |
Re: Failover Datasource?
|
Список | pgsql-jdbc |
Mikko,
Dave Cramer
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca
I can't recall did you ever provide a documentation patch for this ?
Dave
Dave Cramer
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca
On Wed, Dec 12, 2012 at 5:41 AM, Mikko Tiihonen <Mikko.Tiihonen@nitorcreations.com> wrote:
With latest jdbc drivers you can simply configure multiple host:port pairs in the url separated by comma:
jdbc:postgresql://host1:port1,host2:port2/test
It has only the most basic failover support. When a new connection is opened the hosts are tried in round-robin until a connection is successfully established.
-Mikko
________________________________________
From: pgsql-jdbc-owner@postgresql.org [pgsql-jdbc-owner@postgresql.org] on behalf of kaprikorn07 [bharath.spyk@gmail.com]
Sent: 12 December 2012 11:09
To: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] Failover Datasource?
Hi All,
As Bruce Adams has mentioned, please let me know if there is any other way
to do it other than pgBouncer and pgPool.
Please help!
--
View this message in context: http://postgresql.1045698.n5.nabble.com/Re-Failover-Datasource-tp4496411p5736270.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
В списке pgsql-jdbc по дате отправления: