Re: Sthange things happen: SkyTools pgbouncer is NOT a balancer
От | Marko Kreen |
---|---|
Тема | Re: Sthange things happen: SkyTools pgbouncer is NOT a balancer |
Дата | |
Msg-id | e51f66da0709111029o5e5a7c56wea08b62e65ec706a@mail.gmail.com обсуждение исходный текст |
Ответ на | Sthange things happen: SkyTools pgbouncer is NOT a balancer ("Dmitry Koterov" <dmitry@koterov.ru>) |
Список | pgsql-general |
On 9/11/07, Dmitry Koterov <dmitry@koterov.ru> wrote: > We discovered some time ago that pgbouncer is NOT a balancer, because it > cannot spread connections/queries to the same database to multiple servers. > It's unbeliveable, but it's a fact! So, database name in the config MUST be > unique. Indeed, pgbouncer is just a connection pooler, not load balancer. There has been some talk about adding load balancing to it, but as it can be done as well in network level, I don't see much point. > So, it's completely magical for me why "Session pooling", "Transaction > pooling" and "Statement pooling" options are exist (see > https://developer.skype.com/SkypeGarage/DbProjects/PgBouncer). > If pgbouncer is not a balancer, what purpose is to use "Statement pooling" - > if we sent 100 queries (e.g.) in the same connection, they will always be > directed to the SAME MACHINE in its different connections, no balancing > optimization at all. To use less connections on server side. -- marko
В списке pgsql-general по дате отправления: