Re: Need help with slow query - postgres 12 on linux RHEL 8

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: "Wilson, Maria Louise (LARC-E301)[RSES]" <m(dot)l(dot)wilson(at)nasa(dot)gov>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Need help with slow query - postgres 12 on linux RHEL 8
Date: 2023-12-28 12:49:39
Message-ID: ZY1u452aNH-r6xvW@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Dec 27, 2023 at 09:40:41PM +0000, Wilson, Maria Louise (LARC-E301)[RSES] wrote:
> Hello folks!
>
> I am having a complex query slowing over time increasing in duration.
> If anyone has a few cycles that they could lend a hand or just point
> me in the right direction with this – I would surely appreciate it!
> Fairly beefy Linux server with Postgres 12 (latest) – this particular
> query has been getting slower over time & seemingly slowing everything
> else down. The server is dedicated entirely to this particular
> database. Let me know if I can provide any additional information!!
> Thanks in advance!

Hi,
we'd need `explain (analyze, buffers) select ...` for your query.

Ideally, could you put it on https://explain.depesz.com/, with query and
`\d`, and provide us with link?

Best regards,

depesz

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message kaido vaikla 2023-12-28 13:10:28 Re: Switchover
Previous Message Rajesh Kumar 2023-12-28 11:28:31 Certifications