Never Ending query in PostgreSQL

From: "Kumar, Mukesh" <MKumar(at)peabodyenergy(dot)com>
To: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Never Ending query in PostgreSQL
Date: 2022-02-27 04:40:16
Message-ID: CH0P221MB04744E424D17609A1F8B814BDE009@CH0P221MB0474.NAMP221.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi Team,

Can you please help in tunning the attached query as , i am trying to run this query and it runs for several hours and it did not give any output.

I am not able to generate the explain analyze plan as well and it keeps on running for several hours and did not give output.

I have attached the query and explain plan without analyze. Please help if nayone has any idea how to tune that query.

Regards,
Mukesh Kumar

Attachment Content-Type Size
qyery.sql application/octet-stream 17.3 KB
Exec.txt text/plain 17.3 KB

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Julien Rouhaud 2022-02-27 12:22:25 Re: Never Ending query in PostgreSQL
Previous Message Justin Pryzby 2022-02-25 22:52:01 Re: slow query to improve performace