Re: Slow statement using parallelism after 9.6>11 upgrade - Mailing list pgsql-general

From Arnaud L.
Subject Re: Slow statement using parallelism after 9.6>11 upgrade
Date
Msg-id 737cbe4c-bf2f-51f5-1ed2-e184264e96c4@codata.eu
Whole thread Raw
In response to Re: Slow statement using parallelism after 9.6>11 upgrade  ("Arnaud L." <arnaud.listes@codata.eu>)
List pgsql-general
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



pgsql-general by date:

Previous
From: "Arnaud L."
Date:
Subject: Re: Slow statement using parallelism after 9.6>11 upgrade
Next
From: "Jehan-Guillaume (ioguix) de Rorthais"
Date:
Subject: Re: Postgres HA issue - Standby server does not start after Mastercompute host is shut down