We find few queries running three times simultaneously with same parameters on postgres db

From: amandeep singh <singh_a(at)live(dot)in>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: We find few queries running three times simultaneously with same parameters on postgres db
Date: 2018-06-26 10:19:10
Message-ID: MAXPR0101MB191541848D3CD85B118AC07080490@MAXPR0101MB1915.INDPRD01.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Kretschmer 2018-06-26 10:32:44 Re: We find few queries running three times simultaneously with same parameters on postgres db
Previous Message Magnus Hagander 2018-06-26 10:13:56 Re: Single query uses all system memory