From: Kumar, Virendra <Virendra.Kumar@guycarp.com>
To: Glauco Torres <torres.glauco@gmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: RE: pgpool Connections Distributions Among Nodes
Date: Mon, 29 Jan 2018 17:00:51 +0000
Message-ID: <46e347ef7b9845e8b66366d0a076ddc2@USFKL11XG20CN01.mercer.com> (raw)
In-Reply-To: <CAMd+QOSiOwHE0TOnJqgaW6z_Rkg-rsPkuJ03s--FfRXnaCEQLw@mail.gmail.com>
References: <05f2efb3ab16431588411c93c42e7e9e@USFKL11XG20CN01.mercer.com>
<CAMd+QOSiOwHE0TOnJqgaW6z_Rkg-rsPkuJ03s--FfRXnaCEQLw@mail.gmail.com>
Attached is config file.
[pgpool@usdf23v0550 ~]$ pgpool -v
pgpool-II version 3.7.1 (amefuriboshi)
Reading should go to all nodes.
Regards,
Virendra
From: Glauco Torres [mailto:torres.glauco@gmail.com]
Sent: Monday, January 29, 2018 11:53 AM
To: Kumar, Virendra
Cc: pgsql-general@postgresql.org
Subject: Re: pgpool Connections Distributions Among Nodes
We have 4-node cluster (1 master and 3 hot standby). We are using pgpool as load balancer. We have an observation where if application requests for 3 connections, pgpool connects to all 4 servers and I see 3 connections on each of them. I was expecting it have a total of 3 connections from either of 4 servers but I can easily see 12 connections in all.
Can somebody shed some light on it.
Please let me know if you need more information.
Hello,
Which version pgpool you are using?
How did you balance the reading by pgpool? Should all readings go to the replicas? or reading goes to all nodes?
Regards,
Glauco Torres
________________________________
This message is intended only for the use of the addressee and may contain
information that is PRIVILEGED AND CONFIDENTIAL.
If you are not the intended recipient, you are hereby notified that any
dissemination of this communication is strictly prohibited. If you have
received this communication in error, please erase all copies of the message
and its attachments and notify the sender immediately. Thank you.
Attachments:
pgpool.conf (application/octet-stream, 34.7K) download
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: Virendra.Kumar@guycarp.com, torres.glauco@gmail.com
Subject: Re: pgpool Connections Distributions Among Nodes
In-Reply-To: <46e347ef7b9845e8b66366d0a076ddc2@USFKL11XG20CN01.mercer.com>
References: <05f2efb3ab16431588411c93c42e7e9e@USFKL11XG20CN01.mercer.com> <CAMd+QOSiOwHE0TOnJqgaW6z_Rkg-rsPkuJ03s--FfRXnaCEQLw@mail.gmail.com> <46e347ef7b9845e8b66366d0a076ddc2@USFKL11XG20CN01.mercer.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