Slow Running Queries in Azure PostgreSQL

From: "Kumar, Mukesh" <MKumar(at)peabodyenergy(dot)com>
To: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Slow Running Queries in Azure PostgreSQL
Date: 2022-02-22 14:11:58
Message-ID: CH0P221MB0474E218EBD5515523B737EFDE3B9@CH0P221MB0474.NAMP221.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


Hi Team,

Greetings,

We are facing an issue with long running queries in PostgreSQL Database. We recently migrated the database from Oracle to PostgreSQL and we found that there are approx. 4 to 5 queries which was running in oracle in 5 mins and it is taking more than 50 mins in PostgreSQL. We checked every parameter in PostgreSQL, but it is not helping.

I am attaching the query and explain plan with Analyze option in the attachment, but it is not helping.

Request you to please help and assist on this as it is hampering the productivity and effecting the business.

Thanks and Regards,
Mukesh Kumar

Attachment Content-Type Size
explainplan.txt text/plain 98.0 KB
query.sql application/octet-stream 16.3 KB

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Justin Pryzby 2022-02-22 21:27:10 Re: Slow Running Queries in Azure PostgreSQL
Previous Message Merlin Moncure 2022-02-18 15:38:56 Re: Poor performance PostgreSQL 13/ PostGIS 3.x