Re: Query Performance Issue - Mailing list pgsql-performance

From David Rowley
Subject Re: Query Performance Issue
Date
Msg-id CAKJS1f_KzGZ7SRwNMknu59J8a3mAxR1=JAZZPmrdcsQCT1Djmg@mail.gmail.com
Whole thread Raw
In response to Re: Query Performance Issue  (Justin Pryzby <pryzby@telsasoft.com>)
List pgsql-performance
On Sat, 29 Dec 2018 at 20:15, Justin Pryzby <pryzby@telsasoft.com> wrote:
> On Sat, Dec 29, 2018 at 07:58:28PM +1300, David Rowley wrote:
> > Unfortunately, I don't think that'll help this situation. Extended
> > statistics are currently only handled for base quals, not join quals.
> > See dependency_is_compatible_clause().
>
> Right, understand.
>
> Corrrect me if I'm wrong though, but I think the first major misestimate is in
> the scan, not the join:

I should have checked more carefully. Of course, they are base quals.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-performance by date:

Previous
From: Jeff Janes
Date:
Subject: Re: Query Performance Issue
Next
From: Jim Finnerty
Date:
Subject: Re: Need help with optimising simple query