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@postgresql.org <pgsql-general@postgresql.org>
Subject: We find few queries running three times simultaneously with same parameters on postgres db
Date: Tue, 26 Jun 2018 10:19:10 +0000
Message-ID: <MAXPR0101MB191541848D3CD85B118AC07080490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM> (raw)

Hi Team


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.

2018-06-26 15:22:13.620045+05:30 | 00:00:00.198777 | active | 22234 | select * from xyz where x_id=$1

2018-06-26 15:22:13.618832+05:30 | 00:00:00.19999 | active | 22233 | select * from xyz where x_id=$1

2018-06-26 15:22:13.612721+05:30 | 00:00:00.206101 | active | 23927 | select * from xyz where x_id=$1

Our application is developed in java struts 1.3 and hibernate as ORM and tomcat 8.5 for hosting.

PostgreSQL version: 10.3

Kindly suggest.

Thanks and Regards:
Amandeep Singh

view thread (10+ messages)  latest in thread

Message-ID: <MAXPR0101MB191541848D3CD85B118AC07080490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM>
Permalink:  ../MAXPR0101MB191541848D3CD85B118AC07080490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/MAXPR0101MB191541848D3CD85B118AC07080490@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
  Subject: Re: We find few queries running three times simultaneously with same parameters on postgres db
  In-Reply-To: <MAXPR0101MB191541848D3CD85B118AC07080490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM>
  References: <MAXPR0101MB191541848D3CD85B118AC07080490@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