Re: Use zero for nullness estimates of system attributes

From: Jim Finnerty <jfinnert(at)amazon(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Use zero for nullness estimates of system attributes
Date: 2019-01-25 17:41:52
Message-ID: 1548438112057-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-01-25 17:58:51 Re: Alternative to \copy in psql modelled after \g
Previous Message Oleksii Kliukin 2019-01-25 17:37:34 Re: Connection slots reserved for replication