pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kretschmer <andreas@a-kretschmer.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: We find few queries running three times simultaneously with same parameters on postgres db
Date: Tue, 26 Jun 2018 12:32:44 +0200
Message-ID: <d27c8cfc-043a-01f5-5727-d19c96291a55@a-kretschmer.de> (raw)
In-Reply-To: <MAXPR0101MB191541848D3CD85B118AC07080490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM>
References: <MAXPR0101MB191541848D3CD85B118AC07080490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM>



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

-- 
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com





view thread (10+ messages)  latest in thread

Message-ID: <d27c8cfc-043a-01f5-5727-d19c96291a55@a-kretschmer.de>
Permalink:  ../d27c8cfc-043a-01f5-5727-d19c96291a55@a-kretschmer.de/
Also on:    postgresql.org/message-id/d27c8cfc-043a-01f5-5727-d19c96291a55@a-kretschmer.de

 · 

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: andreas@a-kretschmer.de
  Subject: Re: We find few queries running three times simultaneously with same parameters on postgres db
  In-Reply-To: <d27c8cfc-043a-01f5-5727-d19c96291a55@a-kretschmer.de>
  References: <MAXPR0101MB191541848D3CD85B118AC07080490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM> <d27c8cfc-043a-01f5-5727-d19c96291a55@a-kretschmer.de>

* 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