|From:||David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>|
|To:||Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>|
|Cc:||Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, David Fetter <david(at)fetter(dot)org>, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>|
|Subject:||Re: multivariate statistics (v25)|
|Views:||Raw Message | Whole Thread | Download mbox|
On 1 April 2017 at 04:25, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> wrote:
> I've attached an updated patch.
I've made another pass at this and ended up removing the tryextstats
variable. We now only try to use extended statistics when
clauselist_selectivity() is given a valid RelOptInfo with rtekind ==
RTE_RELATION, and of course, it must also have some extended stats
I've also cleaned up a few more comments, many of which I managed to
omit updating when I refactored how the selectivity estimates ties
I'm quite happy with all of this now, and would also be happy for
other people to take a look and comment.
As a reviewer, I'd be marking this ready for committer, but I've moved
a little way from just reviewing this now, having spent two weeks
hacking at it.
The latest patch is attached.
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
|Next Message||Pavel Stehule||2017-04-04 08:09:20||Re: Variable substitution in psql backtick expansion|
|Previous Message||Fabien COELHO||2017-04-04 07:53:13||Re: Variable substitution in psql backtick expansion|