pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Frank Millman <frank@chagford.com>
To: pgsql-general@postgresql.org
Subject: Re: Slow SELECT
Date: Tue, 26 May 2020 12:26:12 +0200
Message-ID: <e57c6bc9-8330-3f49-50fa-a7622da3d283@chagford.com> (raw)
In-Reply-To: <06c641a3-cd43-79f7-9e00-ed5d9f10028f@networkz.ch>
References: <0fb25867-78d2-d57f-134a-c3fccac7bbde@chagford.com>
	<06c641a3-cd43-79f7-9e00-ed5d9f10028f@networkz.ch>



On 2020-05-26 12:02 PM, Christian Ramseyer wrote:
> 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.
> 

Thanks, Christian. I will definitely look into that.

Frank






view thread (21+ messages)  latest in thread

Message-ID: <e57c6bc9-8330-3f49-50fa-a7622da3d283@chagford.com>
Permalink:  ../e57c6bc9-8330-3f49-50fa-a7622da3d283@chagford.com/
Also on:    postgresql.org/message-id/e57c6bc9-8330-3f49-50fa-a7622da3d283@chagford.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: frank@chagford.com
  Subject: Re: Slow SELECT
  In-Reply-To: <e57c6bc9-8330-3f49-50fa-a7622da3d283@chagford.com>
  References: <0fb25867-78d2-d57f-134a-c3fccac7bbde@chagford.com> <06c641a3-cd43-79f7-9e00-ed5d9f10028f@networkz.ch> <e57c6bc9-8330-3f49-50fa-a7622da3d283@chagford.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox