If they are visible in pg_stat_activity then yes. Likewise, if they are only visible in pgbouncer, then no.
The last query being discard all means that PGBouncer has returned the connection to the pool to make it available to the next client that needs it. So what
you’re seeing sounds to me like expected behavior. Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate From: Nicola Contu [mailto:nicola.contu@xxxxxxxxx]
2492534808 | dev | 7355 | 1833427130 | pgbouncer | | 10.151.2.145 | | 60570 | 2018-10-16 14:13:05.151015+00 | | 2018-10-16 15:10:40.309993+00 | 2018-10-16
15:10:40.310038+00 | Client | ClientRead | idle | | | DISCARD ALL They are idle actually. Will they count as client connection on the total amount set on the postgres.conf? Il giorno mar 16 ott 2018 alle ore 16:22 Martín Marqués <martin.marques@xxxxxxxxxxxxxxx> ha scritto:
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you. |