Content-Length: 233443 | pFad | http://github.com/postgrespro/postgres/commit/89840d7d3fa943cb932f6a00707fdb17a9cab001

5B Provide real selectivity estimators for inet/cidr operators. · postgrespro/postgres@89840d7 · GitHub
Skip to content

Commit 89840d7

Browse files
committed
Provide real selectivity estimators for inet/cidr operators.
This patch fills in the formerly-stub networksel() and networkjoinsel() estimation functions. Those are used for << <<= >> >>= and && operators on inet/cidr types. The estimation is not perfect, certainly, because we rely on the existing statistics collected for the inet btree operators. But it's a long way better than nothing, and it's not clear that asking ANALYZE to collect separate stats for these operators would be a win. Emre Hasegeli, with reviews from Dilip Kumar and Heikki Linnakangas, and some further hacking by me
1 parent f770870 commit 89840d7

File tree

1 file changed

+977
-3
lines changed

1 file changed

+977
-3
lines changed

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/89840d7d3fa943cb932f6a00707fdb17a9cab001

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy