Re: 9.6 -> 10.0

Поиск
Список
Период
Сортировка
Искать
От
Josh berkus
Тема
Re: 9.6 -> 10.0
Дата
в 20:45:18
Msg-id
57363CD0.2030602@agliodbs.com
Список
Дерево обсуждения
9.6 -> 10.0 Devrim GÜNDÜZ <devrim@gunduz.org>
Re: 9.6 -> 10.0 Devrim Gündüz <devrim@gunduz.org>
Re: 9.6 -> 10.0 "Joshua D. Drake" <jd@commandprompt.com>
Re: 9.6 -> 10.0 Devrim Gündüz <devrim@gunduz.org>
Re: 9.6 -> 10.0 "Joshua D. Drake" <jd@commandprompt.com>
Re: 9.6 -> 10.0 "David G. Johnston" <david.g.johnston@gmail.com>
Re: 9.6 -> 10.0 Bruce Momjian <bruce@momjian.us>
Re: 9.6 -> 10.0 Magnus Hagander <magnus@hagander.net>
Re: 9.6 -> 10.0 "Greg Sabino Mullane" <greg@turnstep.com>
Re: 9.6 -> 10.0 Robert Haas <robertmhaas@gmail.com>
Re: 9.6 -> 10.0 Magnus Hagander <magnus@hagander.net>
Re: 9.6 -> 10.0 Bruce Momjian <bruce@momjian.us>
Re: 9.6 -> 10.0 Robert Haas <robertmhaas@gmail.com>
Re: 9.6 -> 10.0 Simon Riggs <simon@2ndQuadrant.com>
Re: 9.6 -> 10.0 Robert Haas <robertmhaas@gmail.com>
Re: 9.6 -> 10.0 Simon Riggs <simon@2ndQuadrant.com>
Re: 9.6 -> 10.0 Robert Haas <robertmhaas@gmail.com>
Re: 9.6 -> 10.0 Oleg Bartunov <obartunov@gmail.com>
Re: 9.6 -> 10.0 Simon Riggs <simon@2ndQuadrant.com>
Re: 9.6 -> 10.0 Jim Nasby <jim@nasby.net>
Re: 9.6 -> 10.0 "Joshua D. Drake" <jd@commandprompt.com>
Re: 9.6 -> 10.0 Darren Duncan <darren@darrenduncan.net>
Re: 9.6 -> 10.0 "Joshua D. Drake" <jd@commandprompt.com>
Re: 9.6 -> 10.0 Robert Haas <robertmhaas@gmail.com>
Re: 9.6 -> 10.0 "Joshua D. Drake" <jd@commandprompt.com>
Re: 9.6 -> 10.0 Jim Nasby <jim@nasby.net>
Re: 9.6 -> 10.0 Robert Haas <robertmhaas@gmail.com>
Re: 9.6 -> 10.0 Simon Riggs <simon@2ndQuadrant.com>
Re: 9.6 -> 10.0 Jim Nasby <jim@nasby.net>
Re: 9.6 -> 10.0 Simon Riggs <simon@2ndQuadrant.com>
Re: 9.6 -> 10.0 Jim Nasby <jim@nasby.net>
Re: 9.6 -> 10.0 Justin Clift <justin@postgresql.org>
Re: 9.6 -> 10.0 Jim Nasby <jim@nasby.net>
Re: 9.6 -> 10.0 "Joshua D. Drake" <jd@commandprompt.com>
Re: 9.6 -> 10.0 Bruce Momjian <bruce@momjian.us>
Re: 9.6 -> 10.0 Robert Haas <robertmhaas@gmail.com>
Re: 9.6 -> 10.0 Justin Clift <justin@postgresql.org>
Re: 9.6 -> 10.0 David G Johnston <david.g.johnston@gmail.com>
Re: 9.6 -> 10.0 "Joshua D. Drake" <jd@commandprompt.com>
Re: 9.6 -> 10.0 Simon Riggs <simon@2ndQuadrant.com>
Re: 9.6 -> 10.0 Peter Geoghegan <peter.geoghegan86@gmail.com>
Re: 9.6 -> 10.0 Robert Haas <robertmhaas@gmail.com>
Re: 9.6 -> 10.0 Simon Riggs <simon@2ndQuadrant.com>
Re: 9.6 -> 10.0 Justin Clift <justin@postgresql.org>
Re: 9.6 -> 10.0 Devrim GÜNDÜZ <devrim@gunduz.org>
Re: 9.6 -> 10.0 Justin Clift <justin@postgresql.org>
Re: 9.6 -> 10.0 Darren Duncan <darren@darrenduncan.net>
Re: 9.6 -> 10.0 Jonathan Katz <jonathan.katz@excoventures.com>
Re: 9.6 -> 10.0 Victor Yegorov <vyegorov@gmail.com>
On 05/13/2016 01:41 PM, Bruce Momjian wrote:
> On Thu, May 12, 2016 at 02:07:04PM -0300, Euler Taveira wrote:
>> On 12-05-2016 13:09, Bruce Momjian wrote:
>>> That is an interesting approach.  How many applications are prepared to
>>> re-sent a transaction block based on the error returned by pgbouncer in
>>> this case?
>>>
>> FYI, pgBouncer does not error out transactions. While in PAUSE mode,
>> pgBouncer waits for the current transactions to finish and the new ones
>> are put in a wait queue. After the RESUME command, pgBouncer sends the
>> transaction in the wait queue. Of course, if your application has a
>> response timeout you will see cancellations.
> 
> Oh, that seems useful.
> 

The missing feature is that you can never forceably terminate the
connections to the old master without restarting pgbouncer.  And if you
just shut down the old database server, with some clients still
connected, pgbouncer goes into "error mode" and starts denying some
legit connections.  So there's still work to be done here.

-- 
--
Josh Berkus
Red Hat OSAS
(any opinions are my own)

В списке pgsql-advocacy по дате отправления
От: Bruce Momjian
Дата:
Сообщение: Re: 9.6 -> 10.0
От: Damien Clochard
Дата:
Сообщение: Re: 20th anniversary posters
FAQ