Parallel query and number of connections.

From: Alessandro Aste <alessandro(dot)aste(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Parallel query and number of connections.
Date: 2018-11-21 17:45:57
Message-ID: CAM9F+O2fDbkczoD7b8K-fg9q2bD9B3daWO+TmmBFd82Qm=wTXA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi there, we are running postgresql 10.5 on a centos 7 server.

We're seeing multiple connections (in pg_stat_activity) from our
application with the same query , same user, same application_name, same
query_start etc.

We are 100% sure the query is duplicated and not referring to multiple
queries issued.

The only difference is obviosly the pid and client_addr, that is populated
in any of the connections but the first one.

I was wondering if this can be related to the parallel queries of
postgresql. Is it supposed to spawn multiple "connections" ?

Thank you in advance,

Alessandro.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jean-Marc Lessard 2018-11-21 18:45:28 RE: pg_dump out of memory for large table with LOB
Previous Message Jean-Marc Lessard 2018-11-21 17:18:28 RE: pg_dump out of memory for large table with LOB