From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Doubt in pgbouncer
Date: Fri, 2 Oct 2020 10:32:26 +0300
Message-ID: <d06e40f4-f5c8-1a84-d73b-b9da81b14520@matrix.gatewaynet.com> (raw)
In-Reply-To: <aef84b08-9012-fdfb-83bb-21fe81b53f10@portavita.eu>
References: <CAJWX+EOW3R1JDSwfkvaA4xAGgHfdTd+_Ooi5nhnSQ3MqxtFyrQ@mail.gmail.com>
<aef84b08-9012-fdfb-83bb-21fe81b53f10@portavita.eu>
On 2/10/20 9:50 π.μ., Fabio Pardi wrote:
> Hi Rama,
>
> On 02/10/2020 01:42, Rama Krishnan wrote:
>> Hi Friends,
>>
>> By using pg bouncer can we split read and queries
>>
>
> pgbouncer is just a connection pooler.
>
> The logic where to send the reads and where the writes, should be in our application.
yeah reading back some comments over the github on various issues, the pgbouncer hackers were of the philosophy that pgbouncer should remain as query agnostic as possible, in the sense that it should
not investigate the content of the queries. Those had to do with classic problems like search_path in transaction mode (some PR's were rejected because of that).
You might find this interesting : https://github.com/awslabs/pgbouncer-rr-patch>
> regards,
>
> fabio pardi
--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: achill@matrix.gatewaynet.com
Subject: Re: Doubt in pgbouncer
In-Reply-To: <d06e40f4-f5c8-1a84-d73b-b9da81b14520@matrix.gatewaynet.com>
References: <CAJWX+EOW3R1JDSwfkvaA4xAGgHfdTd+_Ooi5nhnSQ3MqxtFyrQ@mail.gmail.com> <aef84b08-9012-fdfb-83bb-21fe81b53f10@portavita.eu> <d06e40f4-f5c8-1a84-d73b-b9da81b14520@matrix.gatewaynet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox