Re: Slow statement using parallelism after 9.6>11 upgrade

From: "Arnaud L(dot)" <arnaud(dot)listes(at)codata(dot)eu>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Slow statement using parallelism after 9.6>11 upgrade
Date: 2019-09-04 08:28:58
Message-ID: 737cbe4c-bf2f-51f5-1ed2-e184264e96c4@codata.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jehan-Guillaume (ioguix) de Rorthais 2019-09-04 08:36:00 Re: Postgres HA issue - Standby server does not start after Master compute host is shut down
Previous Message Arnaud L. 2019-09-04 07:14:21 Re: Slow statement using parallelism after 9.6>11 upgrade