pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Arnaud L. <arnaud.listes@codata.eu>
To: pgsql-general@lists.postgresql.org
Subject: Re: Slow statement using parallelism after 9.6>11 upgrade
Date: Wed, 4 Sep 2019 10:28:58 +0200
Message-ID: <737cbe4c-bf2f-51f5-1ed2-e184264e96c4@codata.eu> (raw)
In-Reply-To: <12ad6d06-6897-c3f1-a681-62191fadfa90@codata.eu>
References: <872bffe7-82d0-86db-e3d6-2e20b1a72c4b@codata.eu>
	<23865.1567518191@sss.pgh.pa.us>
	<12ad6d06-6897-c3f1-a681-62191fadfa90@codata.eu>

Le 04/09/2019 à 09:04, Arnaud L. a écrit :
> Le 03/09/2019 à 15:43, Tom Lane a écrit :
>> The planner should be able to do better than that, given up-to-date
>> statistics on the "nodes" column.
> 
> Tom, I can confirm that with up to date statistics the planner is still
> lost.
> I did a REINDEX to rule out a broken index and the estimate is still in
> the 100k+ range.


Setting STATISTICS target to 10.000 on the nodes column and re-analyzing 
did not help either. Estimates are still ~1.4M rows when result is 1 row.

Regards
--
Arnaud





view thread (10+ messages)

Message-ID: <737cbe4c-bf2f-51f5-1ed2-e184264e96c4@codata.eu>
Permalink:  ../737cbe4c-bf2f-51f5-1ed2-e184264e96c4@codata.eu/
Also on:    postgresql.org/message-id/737cbe4c-bf2f-51f5-1ed2-e184264e96c4@codata.eu

 · 

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: arnaud.listes@codata.eu
  Subject: Re: Slow statement using parallelism after 9.6>11 upgrade
  In-Reply-To: <737cbe4c-bf2f-51f5-1ed2-e184264e96c4@codata.eu>
  References: <872bffe7-82d0-86db-e3d6-2e20b1a72c4b@codata.eu> <23865.1567518191@sss.pgh.pa.us> <12ad6d06-6897-c3f1-a681-62191fadfa90@codata.eu> <737cbe4c-bf2f-51f5-1ed2-e184264e96c4@codata.eu>

* 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