Re: need explanation about an explain plan - Mailing list pgsql-general

From Marc Millas
Subject Re: need explanation about an explain plan
Date
Msg-id CADX_1aYmoxPaADZM5hjgRK7UfjLLdZAd-rDK6axh9qsHseHuxQ@mail.gmail.com
Whole thread Raw
In response to Re: need explanation about an explain plan  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: need explanation about an explain plan  (Umut TEKİN <umuttechin@gmail.com>)
List pgsql-general


Le mer. 28 juin 2023 à 22:46, Laurenz Albe <laurenz.albe@cybertec.at> a écrit :
On Wed, 2023-06-28 at 19:25 +0200, Marc Millas wrote:
> Hi Laurenz, as said, in each partition there is only one value for ladate.

The planner doesn't seem to take that into account.
Indeed. I did check values in pg_statistic. And rerun analyze. No change... 

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: Dominique Devienne
Date:
Subject: Topological sort of tables, based on FK relationships
Next
From: Marc Millas
Date:
Subject: analyze partition