pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: amandeep singh <singh_a@live.in>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
To: Andreas Kretschmer <andreas@a-kretschmer.de>
Subject: Re: We find few queries running three times simultaneously with same parameters on postgres db
Date: Tue, 26 Jun 2018 17:26:14 +0000
Message-ID: <MAXPR0101MB1915D511FAD2B161D13EDD0380490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <F1A212EE-F14B-476E-9875-713B6971E25F@a-kretschmer.de>
References: <MAXPR0101MB191541848D3CD85B118AC07080490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM>
	<d27c8cfc-043a-01f5-5727-d19c96291a55@a-kretschmer.de>
	<F1A212EE-F14B-476E-9875-713B6971E25F@a-kretschmer.de>

Hi Andreas

The value for $1 is same in all queries.

@Edson: number of such running queries are always  3.

Get Outlook for Android<https://aka.ms/ghei36;



From: Andreas Kretschmer
Sent: Tuesday, 26 June, 6:04 PM
Subject: Re: We find few queries running three times simultaneously with same parameters on postgres db
To: pgsql-general@lists.postgresql.org


On 26 June 2018 12:32:44 CEST, Andreas Kretschmer wrote: > > >Am 26.06.2018 um 12:19 schrieb amandeep singh: >> We have been observing our postgres database from past few days,We >> found few queries running three times simultaneously with same >> parameters.I would like to back track how a query is running multiple > >> times. > >they are independend each other. You can run those queries with EXPLAIN > >ANALYSE to see the execution plan. > >Regards, Andreas seems like i misunderstud your query. are you sure, that the parameter $1 is equal across all different connections? Andreas -- 2ndQuadrant - The PostgreSQL Support Company

view thread (10+ messages)  latest in thread

Message-ID: <MAXPR0101MB1915D511FAD2B161D13EDD0380490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM>
Permalink:  ../MAXPR0101MB1915D511FAD2B161D13EDD0380490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/MAXPR0101MB1915D511FAD2B161D13EDD0380490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM

 · 

reply

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: singh_a@live.in, andreas@a-kretschmer.de
  Subject: Re: We find few queries running three times simultaneously with same parameters on postgres db
  In-Reply-To: <MAXPR0101MB1915D511FAD2B161D13EDD0380490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM>
  References: <MAXPR0101MB191541848D3CD85B118AC07080490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM> <d27c8cfc-043a-01f5-5727-d19c96291a55@a-kretschmer.de> <F1A212EE-F14B-476E-9875-713B6971E25F@a-kretschmer.de> <MAXPR0101MB1915D511FAD2B161D13EDD0380490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.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