Re: Additional improvements to extended statistics
Tomas Vondra <tomas.vondra@2ndquadrant.com>
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: pgsql-hackers@postgresql.org
Date: 2020-03-06T12:58:00Z
Lists: pgsql-hackers
Attachments
On Fri, Mar 06, 2020 at 01:15:56AM +0100, Tomas Vondra wrote: >Hi, > >Here is a rebased version of this patch series. I've polished the first >two parts a bit - estimation of OR clauses and (Var op Var) clauses, and >added a bunch of regression tests to exercise this code. It's not quite >there yet, but I think it's feasible to get this committed for PG13. > >The last part (extended stats on expressions) is far from complete, and >it's not feasible to get it into PG13. There's too much missing stuff. > Meh, the last part with stats on expression is not quite right and it breaks the cputube tester, so here are the first two parts only. I don't plan to pursue the 0003 part for PG13 anyway, as mentioned. 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