Extended statistics for joins
Using extended statistics to improve join estimates.
Versions
- PostgreSQL 20 · worked-on · improved · major
- PostgreSQL 19 · shipped · improved · moderate · 1 commit · +13 / -5 lines
- PostgreSQL 18 · shipped · improved · moderate · 1 commit · +264 / -1 lines
- PostgreSQL 17 · worked-on · improved · major
- PostgreSQL 15 · worked-on · improved · major
- PostgreSQL 14 · worked-on · improved · major
Threads
- Is there value in having optimizer stats for joins/foreignkeys?
- [PATCH v2] Estimate hash join bucket size from the joint ndistinct of the hash keys
- [PATCH 0/2] Fix two hash join costing errors in final_cost_hashjoin()
- Apply extended statistics to join clause during parameterized path costing
- MergeJoin beats HashJoin in the case of multiple hash clauses
- using extended statistics to improve join estimates
- BUG #18885: ERROR: corrupt MVNDistinct entry - 2
- Integrating HLL cardinality estimates with join operator estimation
- PoC: using sampling to estimate joins / complex conditions
- Improve join selectivity estimation using extended statistics