Re: Additional improvements to extended statistics
Tomas Vondra <tomas.vondra@2ndquadrant.com>
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Dean Rasheed <dean.a.rasheed@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2020-07-03T01:10:30Z
Lists: pgsql-hackers
Attachments
On Wed, Jul 01, 2020 at 01:19:40PM +0200, Daniel Gustafsson wrote: >> On 24 Mar 2020, at 15:33, Tomas Vondra <tomas.vondra@2ndquadrant.com> wrote: >> >> On Tue, Mar 24, 2020 at 01:20:07PM +0000, Dean Rasheed wrote: > >>> Sounds like a reasonable approach, but I think it would be better to >>> preserve the current public API by having clauselist_selectivity() >>> become a thin wrapper around a new function that optionally applies >>> extended stats. >>> >> >> OK, makes sense. I'll take a stab at it. > >Have you had time to hack on this? The proposed patch no longer applies, so >I've marked the entry Waiting on Author. Yep, here's a rebased patch. This does not include the changes we've discussed with Dean in March, but I plan to address that soon. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Improve estimation of ANDs under ORs using extended statistics.
- 4f5760d4afa9 14.0 landed
-
Improve estimation of OR clauses using multiple extended statistics.
- 88b0898fe35a 14.0 landed
-
Improve estimation of OR clauses using extended statistics.
- 25a9e54d2db3 14.0 landed
-
Prevent functional dependency estimates from exceeding column estimates.
- 87779aa47463 13.0 landed
-
Fix wording of several extended stats comments
- 6f72dbc48bf8 13.0 landed
-
Improve test coverage for multi-column MCV lists
- d8cfa82d51f8 13.0 landed
-
Improve test coverage for functional dependencies
- f9696782c701 13.0 landed