pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Parallel query and number of connections. 2+ messages / 2 participants [nested] [flat]
* Parallel query and number of connections. @ 2018-11-21 17:45 Alessandro Aste <alessandro.aste@gmail.com> 2018-11-21 23:54 ` Re: Parallel query and number of connections. Adrian Klaver <adrian.klaver@aklaver.com> 0 siblings, 1 reply; 2+ messages in thread From: Alessandro Aste @ 2018-11-21 17:45 UTC (permalink / raw) To: pgsql-general@lists.postgresql.org 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. ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Parallel query and number of connections. 2018-11-21 17:45 Parallel query and number of connections. Alessandro Aste <alessandro.aste@gmail.com> @ 2018-11-21 23:54 ` Adrian Klaver <adrian.klaver@aklaver.com> 0 siblings, 0 replies; 2+ messages in thread From: Adrian Klaver @ 2018-11-21 23:54 UTC (permalink / raw) To: Alessandro Aste <alessandro.aste@gmail.com>; pgsql-general@lists.postgresql.org On 11/21/18 9:45 AM, Alessandro Aste wrote: > 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. client_addr being different would seem to indicate that this is something other then parallel query. > > 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. -- Adrian Klaver adrian.klaver@aklaver.com ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-11-21 23:54 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-11-21 17:45 Parallel query and number of connections. Alessandro Aste <alessandro.aste@gmail.com> 2018-11-21 23:54 ` Adrian Klaver <adrian.klaver@aklaver.com>
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