Re: Use zero for nullness estimates of system attributes - Mailing list pgsql-hackers

From Jim Finnerty
Subject Re: Use zero for nullness estimates of system attributes
Date
Msg-id 1548438112057-0.post@n3.nabble.com
Whole thread Raw
In response to Re: Use zero for nullness estimates of system attributes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Use zero for nullness estimates of system attributes
List pgsql-hackers
re: Yeah, none of our selectivity calculations account for the possibility
that we're above a join that has affected the distribution of a Var's
values.

Tom, there's an analogous issue of adjusting distinct values on a per-column
basis based on the selectivity of other local predicates.  Several
commercial RDBMS's make such adjustments in an effort to get better
selectivity estimates when there are multiple local predicates.  Is this
something that the PG community has considered and decided not to do because
of the additional planning-time overhead that may be required, or just
something that hasn't been discussed or tackled yet?



-----
Jim Finnerty, AWS, Amazon Aurora PostgreSQL
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html


pgsql-hackers by date:

Previous
From: Oleksii Kliukin
Date:
Subject: Re: Connection slots reserved for replication
Next
From: Tom Lane
Date:
Subject: Re: Alternative to \copy in psql modelled after \g