git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 8f321bd) | patch
Use multi-variate MCV lists to estimate ScalarArrayOpExpr
2020年3月14日 13:56:37 +0000 (14:56 +0100)
2020年3月14日 15:13:00 +0000 (16:13 +0100)
commit e83daa7e331e0718bb254ab685f2ed95df423554
Use multi-variate MCV lists to estimate ScalarArrayOpExpr

Commit 8f321bd16c added support for estimating ScalarArrayOpExpr clauses
(IN/ANY) clauses using functional dependencies. There's no good reason
not to support estimation of these clauses using multi-variate MCV lists
too, so this commits implements that. That makes the behavior consistent
and MCV lists can estimate all variants (ANY/ALL, inequalities, ...).

Author: Tomas Vondra
Review: Dean Rasheed
Discussion: https://www.postgresql.org/message-id/flat/13902317.Eha0YfKkKy%40pierred-pdoc
src/backend/statistics/extended_stats.c diff | blob | blame | history
src/backend/statistics/mcv.c diff | blob | blame | history
src/include/statistics/extended_stats_internal.h diff | blob | blame | history
src/test/regress/expected/stats_ext.out diff | blob | blame | history
src/test/regress/sql/stats_ext.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /