Re: Slow SELECT

From: Christian Ramseyer <rc(at)networkz(dot)ch>
To: Frank Millman <frank(at)chagford(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Slow SELECT
Date: 2020-05-26 10:02:59
Message-ID: 06c641a3-cd43-79f7-9e00-ed5d9f10028f@networkz.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

On 26.05.20 09:22, Frank Millman wrote:
>
> I have looked at the EXPLAIN, but I don't really know what to look for.
> I can supply it if that would help.
>

My favorite approach to tuning Postgres queries is:

1. Run EXPLAIN ANALYZE <query>
2. Copy/Paste the output into the fantastic https://explain.depesz.com/

This will turn the somewhat hard-to-understand explain output into a
nice colored structure. If it's not obvious from the orange-reddish
boxes where the slowness comes from, please post the link here and
somebody will certainly have some advice.

Cheers
Christian

--
Christian Ramseyer, netnea ag
Network Management. Security. OpenSource.
https://www.netnea.com

In response to

  • Slow SELECT at 2020-05-26 07:22:49 from Frank Millman

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Rowley 2020-05-26 10:04:07 Re: Slow SELECT
Previous Message Frank Millman 2020-05-26 09:32:47 Re: Slow SELECT